Device Identifiers
Chartboost identifiers explained: expected formats, use, and support.
Identifier for Advertising ๐
IFA is also referred to as IDFA. They are the same thing.
Sent in the field | Format | Platform | Supported by |
---|---|---|---|
ifa |
|
iOS |
|
How Do I Get My IFA? ๐
- Link AdSupport.framework (Build Phases -> Link Binary With Libraries)
- Add these lines of code to an app and run it on an iOS device youโll see the IFA printed in the log:
// Import these
#import <CommonCrypto/CommonDigest.h>
#import <AdSupport/AdSupport.h>
// Print IFA (Identifier for Advertising) in Output section. Add to applicationDidBecomeActive. iOS 6+ devices only. NSString* ifa = [[[NSClassFromString(@"ASIdentifierManager") sharedManager] advertisingIdentifier] UUIDString];ifa = [[ifa stringByReplacingOccurrencesOfString:@"-" withString:@""] lowercaseString];NSLog(@"IFA: %@",ifa);
Alternatively, you may be able to find your device IFA by using a third-party app called The Identifiers.
Does the use of the Chartboost SDK comply with Appleโs IDFA policies?The Chartboost SDK respects the Limit Ad Tracking setting and Appleโs limitations on the usage of IDFA to:
- Serve advertisements within an app
- Attribute an app installation to a previously served advertisement
- Attribute an action taken within an app to a previously served advertisement
Please continue using the Chartboost SDK with confidence, and for any questions or concerns, contact us.
Google Advertising ID (GAID) ๐
Sent in the field | Format | Platform | Supported by |
---|---|---|---|
gaid |
|
Android |
|
How do I get my GAID? ๐
- On your Android device, open the Google Settings app.
- Select Ads.
- Your advertising ID appears at the bottom.
UDID ๐
Sent in the field | Format | Platform | Supported by |
---|---|---|---|
uuid |
|
iOS Only |
|