EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

AdvertisingManager class

Provides a property that lets the caller retrieve the advertising ID, which is an ID used to provide more relevant advertising by understanding which apps are used by the user and how they are used, and to improve quality of service by determining the frequency and effectiveness of ads and to detect fraud and security issues.

Syntax


public ref class AdvertisingManager abstract sealed 

Attributes

[MarshalingBehavior(Standard)]
[Version(0x06030000)]

Members

The AdvertisingManager class has these types of members:

Methods

The AdvertisingManager class inherits methods from the Object class (C#/VB/C++).

Properties

The AdvertisingManager class has these properties.

PropertyAccess typeDescription

AdvertisingId

Read-onlyRetrieves a unique ID used to provide more relevant advertising by understanding which apps are used by the user and how they are used, and to improve quality of service by determining the frequency and effectiveness of ads and to detect fraud and security issues. This ID is per-user, per-device; all of the apps for a single user on a device have the same advertising ID. If the advertising ID feature is turned off, no ID is retrieved.

 

Remarks

This is a runtime object and does not need to be retrieved or created. The AdvertisingId property is called as shown here:



auto advertisingId = Windows::System::UserProfile::AdvertisingManager::AdvertisingId;

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.System.UserProfile
Windows::System::UserProfile [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.System.UserProfile
Windows::System::UserProfile [C++]

Metadata

Windows.winmd

See also

Object
Microsoft Advertising SDK
Windows and Windows Phone Store Policies

 

 

Mostrar:
© 2015 Microsoft