UMP (User Messaging Platform)

1. GDPR Message Creation

1) Go to the AdMob dashboard (https://apps.admob.com), and follow the GDPR message creation guide below to compose and publish your message.

GDPR message creation guide https://support.google.com/admob/answer/10113207


Detailed Explanation of GDPR Consent Messages https://support.google.com/adsense/topic/10924966

<AdMob DashBoard - Privacy & messaging - European regulations>

2) After enabling the GDPR message, the GDPR consent screen will be displayed automatically during Android/iOS ADX SDK or Unity SDK initialization, but only if it is determined that showing the screen is necessary.

<GDPR Consent Screen>

2. Creating an IDFA Message

1) If you are using the iOS ADX SDK or ADX Unity SDK version earlier than V2.5.0, you must remove the related code as shown below to upgrade to V2.5.0 or later. If you are integrating the SDK for the first time, you can skip this step and proceed to the next step.

// If you are using ATT consent request code like the following, remove it all.
[ATTrackingManager requestTrackingAuthorizationWithCompletionHandler:^(ATTrackingManagerAuthorizationStatus status) {
    if (status == ATTrackingManagerAuthorizationStatusAuthorized) {
        [FBAdSettings setAdvertiserTrackingEnabled:YES];
    } else {
        [FBAdSettings setAdvertiserTrackingEnabled:NO];
    }
}];

2) Go to the AdMob dashboard (https://apps.admob.com), and follow the guide below to create and publish the IDFA message.

<AdMob DashBoard - Privacy & messaging - IDFA explainer>

3) To request ATT (App Tracking Transparency) consent, you must provide a value for the NSUserTrackingUsageDescription key explaining why tracking is requested. Otherwise, the app may terminate unexpectedly (crash), or the ATT consent popup may not be displayed.

  • In Xcode, select your target, go to the Info tab, and add the Privacy - Tracking Usage Description key along with its value.

<key>NSUserTrackingUsageDescription</key> <string>This identifier will be used to deliver personalized ads to you.</string>

  • In the Unity Editor, go to Assets > Google Mobile Ads > Settings…, then in the Inspector, add your description message under User Tracking Usage Description.

4) During iOS ADX SDK or Unity SDK initialization, AdMob UMP will automatically display the IDFA explanation message to the user. When the user taps Continue, the ATT consent request will be triggered.

<IDFA explanation message screen>
<ATT consent request popup screen>

5) Regardless of the user’s ATT consent decision, Apple introduced SKAdNetwork to officially measure the success of ad campaigns. To use SKAdNetwork, add the list of ad network identifiers to your iOS app project’s Info.plist file.

You can find the list of identifiers supported by each ad network in the SKAdNetwork ID List section of this guide.

(Example)

<key>SKAdNetworkItems</key>
    <array>
        <dict>
            <key>SKAdNetworkIdentifier</key>
            <string>example100.skadnetwork</string>
        </dict>
        <dict>
            <key>SKAdNetworkIdentifier</key>
            <string>example200.skadnetwork</string>
        </dict>
    </array>

Last updated

Was this helpful?