Google CMP
Handle consent using Google User Messaging Platform
Requirements
Obtain a Google app ID by following the Google Funding Choices Help Center instructions.
Set the Google appID in the Info.plist file:
Add the GoogleCMP dependency to your Podfile:
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 Google CMP’s documentation.
Usage
Follow the instructions in the Managed Consent introduction section.
Create an instance of
AATCMPGoogle
(AATCMPGoogle
conforms toAATCMPProtocol
).Pass the created
AATCMPGoogle
instance while initializing the AATManagedConsent using thepublic init?(cmp: AATCMPProtocol?, delegate: AATManagedConsentDelegate)
method.
Last updated