Measurement and attribution
What is an advertising ID (IDFA and GAID)?
Short answer
An advertising ID is a device identifier made for advertising that the user can reset or switch off. On iPhone and iPad it is the IDFA, the identifier for advertisers. On Android it is the advertising ID from Google Play services, often called GAID or AAID. Apps in different companies see the same value, which is what makes cross-app tracking possible.
IDFA on iPhone
The IDFA is a UUID that is the same for every app on the device. Apple lists its uses as frequency capping, attribution, conversion events, estimating unique users, fraud detection and debugging.
It should not be confused with the IDFV, the identifier for vendor. That value is shared only by apps from the same developer on one device, so it can connect your own apps to each other but not to another company’s.
Since iOS 14.5 an app must ask for tracking permission through App Tracking Transparency before it can read the value. If the app has not asked, or the person declined, the API returns all zeros. Apple also advises against storing the value, because people can change their answer at any time.
Advertising ID on Android
Google describes the Android advertising ID as a unique, user-resettable and user-deletable ID for advertising, provided by Google Play services. A person can reset it or delete it in the device settings. After deletion, apps that ask for it receive a string of zeros.
Apps that target Android 13 or later must declare the AD_ID permission in their manifest to read it. Google Play policy says the advertising ID must be used for advertising in place of other device identifiers when it is available, and recommends the app set ID for analytics and fraud prevention.
Why measurement moved away from it
Matching by advertising ID is simple: the ad network sees the ID at the click, the measurement SDK sees the same ID at first open, and the two are joined. The match is exact, but only when both sides can read the ID.
On iPhone that now depends on a prompt many people decline, and on Android the ID can be deleted. So measurement leans on signals that do not identify a device: the install referrer, a click ID carried in the link, and Apple’s aggregate ad frameworks. The Appy SDK reads neither the IDFA nor the GAID.
For a developer, not reading the ID at all also simplifies things. There is no tracking prompt to design for the SDK’s sake, no AD_ID permission to declare for it, and less to explain in the store privacy forms.
00000000-0000-0000-0000-000000000000Try it here
Appy receives your SKAdNetwork and AdAttributionKit postbacks
Point your app’s Info.plist at Appy and Apple sends a copy of every winning postback here. Appy checks Apple’s signature and shows the results on your app page.
- Installs, re-downloads and re-engagements
- Results by ad network and campaign
- Fine and coarse conversion values
- One SDK call to set the conversion value
Frequently asked questions
What is the difference between IDFA and GAID?
They do the same job on different platforms. The IDFA is Apple’s identifier and needs the user’s permission through App Tracking Transparency. GAID is the Android advertising ID from Google Play services, which the user can reset or delete in settings.
Can users reset or delete their advertising ID?
Yes. On Android, the device settings offer both a reset and a delete option, and a deleted ID is returned as zeros. On iPhone, a person can refuse tracking per app or switch off tracking requests for all apps.
What is the difference between IDFA and IDFV?
The IDFA is shared by all apps on the device and is meant for advertising. The IDFV, identifier for vendor, is shared only by apps from the same developer on that device, so it cannot link activity across different companies.
Related terms
- App Tracking Transparency
App Tracking Transparency, or ATT, is Apple’s framework that makes an app ask for permission before it tracks a person across other companies’ apps and websites or reads the device’s advertising identifier. It has been required since iOS 14.5. Without permission, the advertising ID is returned as all zeros.
- Fingerprinting
Fingerprinting matches an app install to an earlier click by combining signals such as IP address, device model and operating system version, instead of a real identifier. Apple’s rules forbid fingerprinting for tracking, even when the user has agreed to tracking, and privacy regulators look at it closely.
- Mobile attribution
Mobile attribution is working out which ad, campaign or link brought an app install or an in-app action, such as a sign-up or a purchase. It can be deterministic, based on a click ID, the install referrer or the link that opened the app, or probabilistic, based on statistical matching.
One link for every phone
Create a free smart link and QR code that sends iPhones to the App Store, Android phones to Google Play and desktops to your website.