NativeAdsManager class

NativeAdsManager class

Provides methods and events you can use to request a native ad (that is, a NativeAd object). For a walkthrough that demonstrates how to use the NativeAdsManager class in your app, including code examples, see Native ads.

Syntax


public ref class NativeAdsManager sealed 

Members

The NativeAdsManager class has these types of members:

Constructors

The NativeAdsManager class has these constructors.

ConstructorDescription
NativeAdsManager Creates a new instance of the NativeAdsManager class.

 

Events

The NativeAdsManager class has these events.

EventDescription
AdReady Raised when a NativeAd is ready for your app.
ErrorOccurred Raised when a NativeAd encounters an operational error.

 

Methods

The NativeAdsManager class has these methods. It also inherits methods from the Object class.

MethodDescription
RequestAd Requests a NativeAd object for your app.

 

Requirements

Minimum supported client

Windows 10 [Windows Store apps only]

Minimum supported server

None supported

Minimum supported phone

Windows 10 Mobile

Namespace

Microsoft.Advertising.WinRT.UI
Microsoft::Advertising::WinRT::UI [C++]

Metadata

Microsoft.Advertising.winmd

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version]
[WebHostHidden()]

See also

Object
Native ads
NativeAd

 

 

Show:
© 2017 Microsoft