AI-generated Key Takeaways
-
Publisher first-party ID helps deliver more relevant ads using data from your apps.
-
Publisher first-party ID requires Google Mobile Ads SDK version 22.6.0 or higher.
-
Publisher first-party ID is enabled by default but can be disabled programmatically.
For key considerations when preparing your app for Google Play and Android privacy changes, see Privacy strategies for Android.
Publisher first-party ID
Prerequisites: Google Mobile Ads SDK 22.6.0 or higher
The Google Mobile Ads SDK introduced Publisher first-party ID, to help you deliver more relevant and personalized ads by using data collected from your apps.
Publisher first-party ID is enabled by default, but you can disable it using the following method.
Kotlin
// Disables Publisher first-party ID.
MobileAds.putPublisherFirstPartyIdEnabled(false)
Java
// Disables Publisher first-party ID.
MobileAds.putPublisherFirstPartyIdEnabled(false);