medium · M8 · MASVS-PRIVACY-1 · PTKD-REVIEW-PLAY-AD-ID
Ads SDK without the AD_ID permission
Apps that target Android 13 (API 33) or higher and use the advertising ID must declare com.google.android.gms.permission.AD_ID. Without it the ID reads as a string of zeros, so ad, attribution and measurement SDKs silently stop working, and the Play Console Advertising ID answer no longer matches the app.
How it is exploited
A game ships AppsFlyer and AdMob and targets API 35. A previous privacy clean-up added tools:node="remove" for AD_ID. Every install now reports an all-zero advertising ID: attribution stops, ad revenue drops, and the Data safety form still says Device or other IDs are shared.
Why it matters
Broken attribution and ads, and store disclosures that no longer match what the app does.
How to fix it
- Decide whether the app uses the advertising ID at all.
- If yes, keep <uses-permission android:name="com.google.android.gms.permission.AD_ID"/> (ads SDKs merge it in) and answer Yes in Play Console, App content, Advertising ID.
- If no, remove the SDKs that read it, and answer No in Play Console.
Does your app have this?
PTKD checks your build or your source project for PTKD-REVIEW-PLAY-AD-ID and every other check in this knowledge base.
Scan your appReferences
Related checks (M8)
- JavaScript obfuscation in the build
- Export compliance (ITSAppUsesNonExemptEncryption) not declared
- HealthKit app that also ships an ads SDK
- Hardcoded unlock or promo code
- Purchases SDK configured with an empty or test key
- Purchase screen falls back to made-up prices or 'coming soon' text
- False-urgency copy on a purchase screen
- Hardcoded price on a purchase screen