アプリで IMA SDK バージョン 3.25.1 以降を使用している場合は、すでに
com.google.android.gms.permission.AD_ID 権限を自動的に宣言する
取得できる広告 ID です。
IMA SDK バージョン 3.24.0 以前を使用し、Android をターゲットとするアプリの場合
13 で作成した場合、com.google.android.gms.permission.AD_ID 権限を
Google Mobile Ads SDK がアクセスするための AndroidManifest.xml ファイル
広告 ID:
<manifest>
<application>
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>
...
</application>
<!-- For apps targeting Android 13 or higher & IMA SDK version 3.24.0 or lower -->
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
</manifest>
権限を無効にする方法など、com.google.android.gms.permission.AD_ID 権限の申告について詳しくは、こちらの Google Play Console に関する記事をご覧ください。
アプリセット ID
Android 12 以降のデバイスでは、ユーザーが Android の設定でパーソナライズからオプトアウトした時点で、広告 ID がゼロに設定されます。Google Play
App Set ID も導入しました。
セット全体で使用状況やアクションを関連付ける、プライバシーに配慮した方法で
同じ組織が所有するアプリの数を削減できます。
IMA バージョン 3.25.1 以降には、デフォルトで App Set ID SDK が含まれています。アプリセット ID
分析や不正行為など、広告以外のユースケースをサポートするには不可欠
防止されます。詳細については、
App Set ID については、
Android デベロッパー ガイド
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-20 UTC。"],[[["IMA SDK versions 3.25.1 and higher automatically declare the `com.google.android.gms.permission.AD_ID` permission, granting access to the Advertising ID when available."],["For apps using IMA SDK versions 3.24.0 or lower and targeting Android 13, you must manually add the `com.google.android.gms.permission.AD_ID` permission to your `AndroidManifest.xml` file to enable Google Mobile Ads SDK to access the Advertising ID."],["On Android 12 and later, Google Play zeroes out the Advertising ID when users opt out of personalization, introducing the App Set ID as a privacy-focused alternative for correlating app usage within the same organization."],["IMA SDK version 3.25.1 and higher includes the App Set ID SDK by default, supporting non-ads use cases like analytics and fraud prevention when the Advertising ID is unavailable."]]],["Apps using IMA SDK 3.25.1+ automatically declare and access the Advertising ID. Apps with IMA SDK 3.24.0 or lower, targeting Android 13, must add the `com.google.android.gms.permission.AD_ID` permission to their `AndroidManifest.xml`. Android 12+ devices will zero out the advertising ID if the user disables personalization. The App Set ID, included by default in IMA 3.25.1+, allows usage correlation across apps from the same organization when the advertising ID is zeroed.\n"]]