AI-generated Key Takeaways
- 
          Publisher first-party ID helps deliver more relevant and personalized ads using data from your apps. 
- 
          Publisher first-party ID is enabled by default. 
- 
          Publisher first-party ID can be disabled using the provided code methods in Kotlin and Java. 
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);