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

    1. Decide whether the app uses the advertising ID at all.
    2. 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.
    3. 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 app

    References

    Related checks (M8)