Share via


AdvertisingManagerForUser.AdvertisingId Property

Definition

Gets a unique ID used to provide more relevant advertising to a user.

public:
 property Platform::String ^ AdvertisingId { Platform::String ^ get(); };
winrt::hstring AdvertisingId();
public string AdvertisingId { get; }
var string = advertisingManagerForUser.advertisingId;
Public ReadOnly Property AdvertisingId As String

Property Value

String

Platform::String

winrt::hstring

The advertising ID is represented as an alphanumeric string. When the advertising ID feature is turned off, this is an empty string.

Applies to

See also