advertisingIdentifier
The device advertising ID (IDFA) for ad attribution and analytics.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Property
- Namespace: UnityEngine.iOS
- Assembly: UnityEngine.CoreModule
public static string advertisingIdentifier { get; }
Remarks
A UUID that identifies the device for advertising. This is the same as Apple's . Use of this property may require extra App Store steps for advertising and privacy. If the user has limited ad tracking (use Device.advertisingTrackingEnabled to check), the ID may be zeroed or restricted. You must not use the ID for cross-app tracking when it is zeroed or restricted.
ASIdentifierManager.advertisingIdentifierFor an async option that also returns tracking status, use Application.RequestAdvertisingIdentifierAsync.