AI-generated Key Takeaways
-
Publisher first-party ID helps deliver more relevant and personalized ads using app data.
-
Publisher first-party ID is enabled by default in the Google Mobile Ads SDK (beta).
-
You can disable Publisher first-party ID programmatically using provided Kotlin or Java methods.
For key considerations when preparing your app for Google Play and Android privacy changes, see Privacy strategies for Android.
Publisher first-party ID
The Google Mobile Ads SDK (beta) 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);