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 RNAatkit.ConsentType_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.

RNAatkit.initWithConfiguration({
    consent: {
        "type": RNAatkit.ConsentType_Vendor,
        "consentForAddapptr": RNAatkit.SimpleConsent_Obtained,
        "vendorConsentObtainedNetworks": [RNAatkit.AdNetwork_ADCOLONY, RNAatkit.AdNetwork_DFP, RNAatkit.AdNetwork_UNITYADS]
    }
})

Last updated