Google CMP

Handle consent using Google User Messaging Platform

Requirements

<key>GADApplicationIdentifier</key>
<string>YOUR-APP-ID</string>
  • Integrate GoogleCMP:

    • Cocoapods:

      • Add pod 'AATKit/GoogleCMP' to your Podfile.

    • Swift Package Manager:

      • Follow the same SPM steps here.

      • Repeat the last step, and add AATKit-GoogleCMP.

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 to AATCMPProtocol).

  • Pass the created AATCMPGoogle instance while initializing the AATManagedConsent using the public init?(cmp: AATCMPProtocol?, delegate: AATManagedConsentDelegate) method.

Last updated