Does AdMob automatically handle the result of an iOS AppTrackingTransparency authorization request?

214 views
Skip to first unread message

Billy Pilgrim

unread,
Aug 25, 2024, 9:39:22 PM8/25/24
to Google Mobile Ads SDK Developers
On iOS AppTrackingTransparency requires that the user be asked whether or not they authorized tracking for the purpose of ad personalization.

Relevant iOS documentation:

Once this has been done and the user has given their answer, does AdMob handle the result automatically?

For instance, suppose the user authorizes the request. Does AdMob then know to load personalized ads? On the other hand, if the user denies the request, does AdMob know to load non-personalized ads?

Relevant Google documentation:

The Google documentation above mentions: "We recommend waiting for the completion callback prior to loading ads so that if the user grants the App Tracking Transparency permission, the PAL SDK can use the IDFA in ad requests."

I think this, along with the example below that immediately begins loading an ad, suggests that AdMob is aware of the request result and will handle personalization or non-personalization accordingly, without need for the developer to handle the request result.

Is this correct? I just want to be sure that after the initial request, AdMob handles the result correctly without any further action needed on my part.

Mobile Ads SDK Forum Advisor

unread,
Aug 26, 2024, 4:50:13 AM8/26/24
to jsnowgo...@gmail.com, google-adm...@googlegroups.com

Hi Billy,

Thank you for contacting the Mobile Ads SDK support team. 

When employing the ATT framework, we recommend you pay close attention to the wording in your content and run tests to find what works best for your app

Some developers may choose to show an explainer message that appears to users immediately before the ATT prompt with details about how user data is used and how users can opt in to personalized ads. If you choose to show an explainer message, you can use Privacy & messaging to manage your ATT permission and create an explainer message and/or EU user consent message that your users see just beforehand. Learn more about IDFA messages in Privacy & messaging. 

Some privacy message forms are presented from a publisher-rendered privacy options entry point, letting users manage their privacy options at any time. To learn more about which message your users see at the privacy options entry point, see Available user message types.

This message is in relation to case "ref:!00D1U01174p.!5004Q02vFNbK:ref" (ADR-00264831)

Thanks,
 
Google Logo Mobile Ads SDK Team


Billy Pilgrim

unread,
Aug 26, 2024, 1:11:41 PM8/26/24
to Google Mobile Ads SDK Developers
Hi,

Thanks for the response. That's good advice, and I'll certainly do it.

But I was specifically wondering if AdMob will take into account the result of the ATT authorization.

For example, here's the flow:

  1. I show an explainer message describing the upcoming ATT request.
  2. The ATT request is presented, asking the user for authorization.
  3. The user provides their answer.
Now, after step #3, do I need to manually provide AdMob with the user's answer, or does the AdMob SDK retrieve/receive this information automatically once it is provided?

Here's a snippet of the code in step #2. If I need to provide AdMob with the user's answer, this is where I would do it. If this is the case, how do I provide this information to AdMob? For example, if the user asks to not be tracked, then `case .denied` will be triggered - how do I communicate this to AdMob, if necessary?

if ATTrackingManager.trackingAuthorizationStatus == .notDetermined

    {

        let status: ATTrackingManager.AuthorizationStatus = await ATTrackingManager.requestTrackingAuthorization()

        

        switch status

        {

            case .notDetermined:

                print("AuthorizationStatus: notDetermined")

                

            case .restricted:

                print("AuthorizationStatus: restricted")

                

            case .denied:

                print("AuthorizationStatus: denied")

                

            case .authorized:

                print("AuthorizationStatus: authorized")

                

            @unknown default:

                print("AuthorizationStatus: unknown")

        }

    }

Emil

unread,
Nov 25, 2024, 11:29:03 AM11/25/24
to Google Mobile Ads SDK Developers
We are wondering the same thing. Did you get an answer elsewhere or have any knowledge to share? If not maybe admob support could take a look again?

Mobile Ads SDK Forum Advisor

unread,
Nov 25, 2024, 6:27:24 PM11/25/24
to emi...@kavalrigames.com, jsnowgo...@gmail.com, google-adm...@googlegroups.com

Hi Billy,

Thank you for getting back to us.

Yes, AdMob automatically handles the result of an iOS AppTrackingTransparency authorization request.

This could be seen in adRequest(parameter: ‘attmas=‘) in Charles.

This message is in relation to case "ref:!00D1U01174p.!5004Q02vFNbK:ref" (ADR-00264831)

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5 



Reply all
Reply to author
Forward
0 new messages