Skip to Content
Platform.Ontology

AD_ID permission

Android 13 apps must declare AD_ID in the manifest to read the advertising ID.

Asks you firstAds and install trackingAdvertisingAndroid and iPhoneBefore you installWhen the app opens

In one line

Can use the Android ad ID only if the app lists the AD_ID permission

Android 13 apps must declare AD_ID in the manifest to read the advertising ID.

If missing, the ID reads as zeros. Cuts ad tracking in apps that did not declare it.

What it can and can't do

What the user does: Nothing. It is switched on automatically when the app installs

It can

  • Use the Google advertising ID if the app lists AD_ID
  • Get it with no prompt, since it is auto granted
  • Give zeros if the app left it out (Android 13 and later)

It cannot

  • Show a prompt; none appears
  • Get the real ID without the permission, on apps built for Android 13
  • Work on iPhone; the tracking prompt guards the ID there

How it differs between platforms: Android 13 and later only. iPhone uses the tracking prompt instead.

On Android and iPhone

AndroidiPhone
StatusSupportedNot supported
First versionAndroid 13 (API 33)Not available
Permission or entitlementcom.google.android.gms.permission.AD_IDnone
Protection levelnormalnot-exposed
How access is grantedinstallnot-exposed
What the user seesNot listedNot listed
How long it lastsStatic in manifest; SDKs may merge it inNot listed
How to take it backCannot be revoked per app (user can delete the ad ID)Not listed
Store policyPlay: must declare when targeting API 33 and using ad IDNone listed
APIManifest uses-permissionNo equivalent
NotesNormal permission: auto-granted, no promptATT is the iOS gate

Data you get

What comes back: Permission flag
Shape: none
How often: Static

FieldTypeUnitRangePrecision
declaredbooleanNonetrue, false1 bit

Technical limits

  • Normal permission
  • Zero ID without declaration
  • Visible to Play Console and store scanners

The story

What it is

A line apps must add on Android 13 and later to read your advertising ID.

For you

You do not see a prompt. If an app has not declared it, its advertising ID reads as zeros, so ads cannot follow you from that app.

For makers

Without the line, the advertising ID returns zeros. It cuts ad tracking in apps that skip the declaration and signals to Play reviewers that an app uses ads.

Where you see it

TypeExampleApps
gamesA game with ads adds the declaration so its ad network can still see the ID.Candy Crush
kidsA kids app leaves it out on purpose, so the ID is always zeros.PBS Kids Games
shoppingA retailer declares it so install attribution works.Walmart
adsAn ad SDK checks for the permission and falls back to contextual ads.Google AdMob
securityPlay checks the manifest and the Data safety form for matching claims.None named
developerA developer finds the ID suddenly returns zeros after updating the target version.None named

Risks

  • Easy to forget
  • Zeros break measurement

Android and iPhone in short

  • Android: Added in Android 13 as a normal permission.
  • iPhone: iOS uses the ATT prompt instead.

What the platform says

Good uses and abuse

Legitimate uses

  • Declare ad use

Known abuse

  • Little

Scores

ScoreValueMeaning
Sensitivity2 of 5How revealing the data is
Utility2 of 5How useful it is to honest apps
Friction1 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2022-04, Android 13 (API 33): AD_ID permission introduced
  • 2022-04, Android Android 13 (API 33): Permission introduced; zeros if undeclared when targeting 13

Sources

How well checked: Based on official documentation.

On this page