Instance Property

advertisingTrackingEnabled

A Boolean value that indicates whether the user has limited ad tracking.

Declaration

@property(nonatomic, readonly, getter=isAdvertisingTrackingEnabled) BOOL advertisingTrackingEnabled;

Discussion

Check the value of this property before performing any advertising tracking. If the value is NO, use the advertising identifier only for the following purposes: frequency capping, attribution, conversion events, estimating the number of unique users, advertising fraud detection, and debugging.

See Also

Getting the Advertising Identifier

advertisingIdentifier

An alphanumeric string unique to each device, used only for serving advertisements.

- clearAdvertisingIdentifier

An instance that clears the current advertising identifier, forcing the creation of a new advertising identifier the next time it is needed.