Uygulamanızı Google Play ve Android'deki gizlilik değişikliklerine hazırlarken dikkat etmeniz gereken önemli noktalar için Android için gizlilik stratejileri başlıklı makaleyi inceleyin.
Yayıncı birinci taraf kimliği (eski adıyla aynı uygulama anahtarı)
Ön koşullar:
Google Mobile Ads SDK'sı
21.4.0 veya
daha yeni bir sürüm
Google Mobile Ads SDK'sı,
uygulamalarınızdan toplanan verileri kullanarak daha alakalı ve
kişiselleştirilmiş reklamlar yayınlamanıza yardımcı olmak için
yayıncı birinci taraf kimliğini
(eski adıyla aynı uygulama anahtarı) kullanıma sundu.
Yayıncı birinci taraf kimliği varsayılan olarak etkindir ancak aşağıdaki yöntemi kullanarak devre dışı bırakabilirsiniz.
Kotlin
// Disables Publisher first-party ID, formerly known as same app key.MobileAds.putPublisherFirstPartyIdEnabled(false)
Java
// Disables Publisher first-party ID, formerly known as same app key.MobileAds.putPublisherFirstPartyIdEnabled(false);
[null,null,["Son güncelleme tarihi: 2025-08-31 UTC."],[[["\u003cp\u003ePublisher first-party ID (formerly same app key) in Google Mobile Ads SDK helps deliver personalized ads using app data and is enabled by default.\u003c/p\u003e\n"],["\u003cp\u003eYou can disable Publisher first-party ID using \u003ccode\u003eMobileAds.putPublisherFirstPartyIdEnabled(false)\u003c/code\u003e in your app's code (Kotlin or Java).\u003c/p\u003e\n"],["\u003cp\u003eThis feature requires Google Mobile Ads SDK 21.4.0 or higher and the API name changed in version 22.6.0 but remains compatible with previous versions.\u003c/p\u003e\n"],["\u003cp\u003eFor further guidance on Android privacy and Google Play compliance, refer to the Privacy strategies for Android resource.\u003c/p\u003e\n"]]],["The content focuses on the transition from \"same app key\" to \"Publisher first-party ID\" within the Google Mobile Ads SDK. This ID, enabled by default, uses data from apps to personalize ads. It requires SDK version 21.4.0 or higher. Version 22.6.0 updated the API name, but previous versions (21.4.0 to 22.5.0) still work seamlessly. Publishers can disable the Publisher first-party ID using `MobileAds.putPublisherFirstPartyIdEnabled(false)` in Kotlin or Java. Also advises to check for Android privacy strategies.\n"],null,["# Privacy strategies\n\nSelect platform: [Android](/admob/android/privacy/strategies \"View this page for the Android platform docs.\") [iOS](/admob/ios/privacy/strategies \"View this page for the iOS platform docs.\") [Unity](/admob/unity/privacy/strategies \"View this page for the Unity platform docs.\")\n\n\u003cbr /\u003e\n\nFor key considerations when preparing your app for Google Play and Android\nprivacy changes, see\n\n[Privacy strategies for Android](//support.google.com/admob/answer/11402075).\n\n\nPublisher first-party ID, formerly known as same app key\n--------------------------------------------------------\n\n**Prerequisites:\nGoogle Mobile Ads SDK\n21.4.0 or\nhigher**\n\n| **Note:** Same app key has been renamed to [Publisher first-party ID](//support.google.com/admob/answer/11402075#publisher-first-party-id) . The same app key API changed to reflect Publisher first-party ID in version 22.6.0. This change doesn't impact existing activation of same app key for Google Mobile Ads SDK versions 21.4.0 to 22.5.0. All applicable SDK versions process the identifier seamlessly.\n\n\u003cbr /\u003e\n\nThe\n\n\nGoogle Mobile Ads SDK\n\n\nintroduced\n[Publisher first-party ID](//support.google.com/admob/answer/11402075#publisher-first-party-id),\nformerly known as same app key to help you deliver more relevant and\npersonalized ads by using data collected from your apps.\n\nPublisher first-party ID is enabled by default, but you can disable it using the\nfollowing method. \n\n### Kotlin\n\n // Disables Publisher first-party ID, formerly known as same app key.\n MobileAds.putPublisherFirstPartyIdEnabled(false)\n\n### Java\n\n // Disables Publisher first-party ID, formerly known as same app key.\n MobileAds.putPublisherFirstPartyIdEnabled(false);\n\n\u003cbr /\u003e"]]