Google Play advertising ID declaration error: how to fix it
Why Google Play blocks your release until you complete the advertising ID declaration, how to answer it, and how to add or remove the AD_ID permission to match.
You try to roll out a release and the Play Console says: “You must complete the advertising ID declaration before you can release an app that targets Android 13 (API 33). We’ll use this declaration to provide safeguards in Play Console to accommodate changes to advertising ID in Android 13. Apps targeting Android 13 or above and using advertising ID must include the com.google.android.gms.permission.AD_ID permission in the manifest.” It means one question in App content is unanswered, and your answer has to match whether your build includes the AD_ID permission.
Why it happens
- You raised targetSdk to 33 or higher. From Android 13, apps that use the Google Play services advertising ID must declare the AD_ID normal permission. Without it, the ID comes back as a string of zeros.
- The declaration was never filled in. It is a separate question from the Data safety form. Google uses your answer to block releases that don’t match it.
- An SDK changed the answer for you. Ad SDKs such as Google Mobile Ads declare AD_ID in their own manifest (version 20.4.0 and later do it automatically), and it merges into your app. Your own manifest may not mention it at all.
- You answered yes but the permission is missing. If you declare that you use the advertising ID, Play Console blocks releases targeting Android 13+ that don’t include AD_ID.
How to fix it
- Find out whether your app uses the advertising ID. Ads, attribution and some analytics SDKs read it. Check each SDK’s docs, and open the Merged Manifest tab in Android Studio to see whether com.google.android.gms.permission.AD_ID is present and which library adds it.
- In the Play Console, open App content and find Advertising ID. Answer the question and, if you say yes, pick the purposes that apply (for example advertising or marketing, analytics).
- If you answered yes and AD_ID isn’t in the merged manifest, add <uses-permission android:name="com.google.android.gms.permission.AD_ID" /> to your app manifest.
- If you answered no but an SDK adds AD_ID, remove it: <uses-permission android:name="com.google.android.gms.permission.AD_ID" tools:node="remove" />, with the tools namespace declared on <manifest>. Only do this if you really don’t use the ID, since the SDK will then get zeros.
- Rebuild, upload and roll out. Keep the Data safety form in line: if an SDK sends the advertising ID, it is “Device or other IDs” there.
| Project type | Where to add or remove AD_ID |
|---|---|
| Android (Kotlin/Java) | app/src/main/AndroidManifest.xml |
| Flutter | android/app/src/main/AndroidManifest.xml. Ad plugins pull in the Google Mobile Ads SDK, which adds it |
| React Native (bare) | android/app/src/main/AndroidManifest.xml |
| Expo | To remove it, add "com.google.android.gms.permission.AD_ID" to android.blockedPermissions in app.json |
| Unity | A custom main manifest (Player Settings → Publishing Settings), or check what your ads package adds |
Questions people ask
My app has no ads. What do I answer?
Answer no if nothing in your app reads the advertising ID, including analytics and attribution SDKs. Then check that the merged manifest doesn’t include AD_ID, and remove it if a library adds it.
Is the advertising ID declaration the same as the Data safety form?
No. They are separate items in App content. If an SDK sends the advertising ID off the device, you also declare it in Data safety under Device or other IDs.
What happens if I target Android 13 without the AD_ID permission?
Calls for the advertising ID return a string of zeros instead of the real ID, so ad targeting and attribution stop working.
Do I need to add AD_ID myself if I use Google Mobile Ads?
Not with version 20.4.0 or later. It declares the permission and it merges into your manifest.
Sources
Check your own name
Domains, both app stores, bundle IDs and every live site using the name, in under a minute.
Check a name