This guide outlines the steps required to support the IDFA message as part of the UMP SDK. It is intended to be paired with Get started which gives an overview of how to get your app running with the UMP SDK and the basics of setting up your message. The guidance below is specific to the IDFA message.
- Complete the Get started guide.
- Create an IDFA message.
If you plan to use the UMP SDK to handle Apple's App Tracking Transparency (ATT) requirements, make sure you've created, configured, and published your IDFA explainer message) in the Ad Manager UI.
In order for the UMP SDK to display a custom alert message in the iOS system
dialog, update your
Info.plist to add the
with a custom message string describing your usage.
<key>NSUserTrackingUsageDescription</key> <string>This identifier will be used to deliver personalized ads to you.</string>
The usage description appears as part of the ATT dialog when you present the consent form:
Then, link the
That’s it! Your app will now show an IDFA explainer message prior to the IDFA ATT dialog.
While testing, remember that the IDFA ATT dialog only appears a single time
is a one-time request. The UMP SDK only has a form available to load if the
authorization status is
To make the alert appear a second time, you must uninstall and reinstall your app on your test device.