General Handling
Introduction to consent handling
Last updated
Introduction to consent handling
Last updated
Apps (more precisely: their publishers and third-party library vendors) have to get consent from the users for serving personalized ads in order to comply with data protection laws such as GDPR. Applications also have to provide a button for the user to be able to change the consent settings. AATKit provides three ways of handling user consent:
Managed Consent
If you plan to use an compliant (CMP) that Gravite has already adapted, and you don’t want to care about their specific APIs, you should consider using the . The Managed Consent will also take care of automatically passing user consent to non IAB compliant ad networks that you use with AATKit. Also, it supports automatic detection of non GDPR locations and related handling of the CMP. Currently, the following CMPs are adapted:
Default Consent
If you are using your own consent management platform (CMP) that is not implemented by Gravite, you can simply omit passing any consent data to us. AATKit will automatically handle the TCF or CCPA consent strings, if available, from SharedPreferences. Additionally, AATKit will read and respond to the non-IAB vendor consent string as part of its default behavior, as long as your CMP works with specification (stores special string under IABTCF_AddtlConsent
).
Vendor Consent
If you plan to use an compliant (CMP) that Gravite has not yet adapted, or you want to create your own GDPR-compliant consent management and explicitly want to manage consents for different ad networks/vendors, you should consider using the - specifically to pass consent to ad networks not complying with the IAB TCF (if you want to use those).
Simple Consent
If you don’t plan to use an compliant (CMP), or you want to create your own GDPR-compliant consent management but don’t want to explicitly consent for different ad networks/vendors, you can consider using . It will just manage one single consent value that is relevant for all respective ad networks/vendors.
For more general information about data protection topics, please consider visiting .
Certain ad networks don't deliver ads if user consent wasn't granted. In order to speed up mediation, those networks can be skipped within the mediation.
This feature is disabled by default.
If enabled AATKit skips mediation rules for ad networks in case the user didn't grant consent for them.
Purpose: enable faster ad loading by skipping networks without consent which typically do not serve ads at all or very poorly paid ones.
To enable rule skipping:
By default, the following ad networks will be skipped when they have no consent and rule skipping is enabled:
Digital Turbine (ADCOLONY)
Admob
AdX
Amazon HB
Xandr (APPNEXUS)
Criteo SDK
Google AdManager (DFP)
Google AdManager (Direct) (DFPDIRECT)
Inmobi
Ogury
Verve (PUBNATIVE)
Magnite (RUBICON)
smaato
Teads
Equativ (SMARTAD)
Equativ (Direct) (SMARTADSERVERDIRECT)
YOC
FeedAd
Tappx
Mintegral
If rule skipping is enabled, by default AATKit will use the above default set of networks to be skipped if they have no consent. To change this default set and skip rules only for specific ad networks:
To check if consent is OptIn or not, use the following API:
AATKit now supports CCPA only if the CCPA consent string is found. AATKit will read and react automatically to the CCPA string changes in SharedPreferences.
This API only returns meaningful information after AATKit was successfully initialized (and did download its mediation rules from the backend (If you want to observe this, see )).