AD_ID permission
Android 13 apps must declare AD_ID in the manifest to read the advertising ID.
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
| Android | iPhone | |
|---|---|---|
| Status | Supported | Not supported |
| First version | Android 13 (API 33) | Not available |
| Permission or entitlement | com.google.android.gms.permission.AD_ID | none |
| Protection level | normal | not-exposed |
| How access is granted | install | not-exposed |
| What the user sees | Not listed | Not listed |
| How long it lasts | Static in manifest; SDKs may merge it in | Not listed |
| How to take it back | Cannot be revoked per app (user can delete the ad ID) | Not listed |
| Store policy | Play: must declare when targeting API 33 and using ad ID | None listed |
| API | Manifest uses-permission | No equivalent |
| Notes | Normal permission: auto-granted, no prompt | ATT is the iOS gate |
Data you get
What comes back: Permission flag
Shape: none
How often: Static
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
declared | boolean | None | true, false | 1 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
| Type | Example | Apps |
|---|---|---|
| games | A game with ads adds the declaration so its ad network can still see the ID. | Candy Crush |
| kids | A kids app leaves it out on purpose, so the ID is always zeros. | PBS Kids Games |
| shopping | A retailer declares it so install attribution works. | Walmart |
| ads | An ad SDK checks for the permission and falls back to contextual ads. | Google AdMob |
| security | Play checks the manifest and the Data safety form for matching claims. | None named |
| developer | A 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
- Google: AD_ID permission. Apps targeting Android 13 must declare AD_ID to use the advertising ID.
Good uses and abuse
Legitimate uses
- Declare ad use
Known abuse
- Little
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 2 of 5 | How revealing the data is |
| Utility | 2 of 5 | How useful it is to honest apps |
| Friction | 1 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough 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
Related capabilities
Related
- Advertising ID (IDFA and AAID). Can use a resettable ad ID, by default on Android and only after Allow on iPhone
- Google advertising ID (AAID/GAID). Can use a resettable Google ad ID to link your activity across apps
Sources
- Android 13 behavior changes
- Android: Advertising ID
- Android: Advertising ID permission
- Play Console Help: Advertising ID
How well checked: Based on official documentation.