Google CMP
Handle consent using Google User Messaging Platform
Last updated
Handle consent using Google User Messaging Platform
Last updated
Obtain a Google app ID by following the .
Set the Google appID in the AndroidManifest.xml file:
Add the Google CMP dependency to your build.gradle:
Make sure, your Google CMP has been set up at its backend dashboard. Our support recommends certain vendors to be included in your server-side setup in order to yield optimal revenues. We also recommend that CMP should be geographically targeted to "Everywhere", for handling of opt-out consent scenarios. Please also refer to your .
Follow the instructions in the Managed Consent .
Create an instance ofCMPGoogle
(CMPGoogle
implements CMP
interface).
Pass the created CMPGoogle
instance while creating the ManagedConsent using the public constructor ManagedConsent(cmp: CMP, context: Context, delegate: ManagedConsent.ManagedConsentDelegate)
.