Vendor Consent

Handle consent using AATKit vendor consent

Introduction

You should consider using AATKit’s Vendor Consent, in case you want to utilize a CMP that AATKit has not yet adapted with its ManagedConsent. In that case, you might want to pass individual consents (coming from your CMP) to specific non-IAB compliant ad networks/vendors.

Usage

To use it, you need to initialize AATKit with consent type set as AATKitConsent.ConsentTypes.Vendor, Also you should pass the list of networks which should have consent set as obtained. AATKit will set consent as withheld for another networks.

AATKitConfiguration aatkitConfiguration = new AATKitConfiguration
{
    ConsentRequired = true,
    Consent = new AATKitConsent()
    {
        Type = AATKitConsent.ConsentTypes.Vendor,
        ConsentForAddapptr = AATKitConsent.NonIABConsentType.Obtained,
        VendorConsentObtainedNetworks = new List<AATKitBinding.AdNetwork> {
            AATKitBinding.AdNetwork.ADCOLONY,
            AATKitBinding.AdNetwork.ADMOB,
            AATKitBinding.AdNetwork.DFP,
            AATKitBinding.AdNetwork.UNITYADS
        }
    }
};

Last updated