Blog

Fix: Advertising ID Declaration in Play Console and Android 13 Error | 12Tester

By SwapTest Team ยท Updated

Since Android 13 (API 33), Google has introduced strict rules regarding the **Advertising ID Declaration**. If your app targets Android 13 and uses an advertising ID, you must explicitly declare the AD_ID permission in your manifest. Failure to do so may result in your advertising identifier being zeroed out.

Why is Advertising ID Declaration in Play Console Vital?

Google Play Console uses your **beyan** (declaration) to verify compliance. If you indicate that your app uses an advertising ID but your active artifacts lack the required permission, you will face errors while releasing new bundles. This is particularly important for apps using AdMob or Firebase Analytics.

Adding the Permission to your Manifest

To fix the issue, add the following line to your AndroidManifest.xml (outside the <application> tag):

<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>

Updating your Advertising ID Declaration in Play Console

To clear the error in Play Console:

Navigate to **App Content** in the Play Console.
Locate the **Advertising ID** section.
Update your **beyan** (declaration) to "Yes" if your app uses an ID.
Specify the purpose (Analytics, Advertising, etc.) and save.

.html URLs and Release Errors

If Play Console flags old versions as non-compliant, you can safely ignore these errors during the upload of your new, compliant App Bundle. Once the new version replaces the old ones, the warnings will disappear.

Conclusion

Updating your **Advertising ID Declaration** and your manifest ensures that your app remains compliant and your revenue streams stay uninterrupted.

Ready for Google Play?

Bypass the 12 tester rule for free today.

Start Now