NativeAdsManagerV2 Class

Definition

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

public ref class NativeAdsManagerV2 sealed
class NativeAdsManagerV2 sealed
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Advertising.WinRT.UI.__INativeAdsManagerV2Factory), 1)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
[Windows.Foundation.Metadata.WebHostHidden]
public sealed class NativeAdsManagerV2
Public NotInheritable Class NativeAdsManagerV2
Inheritance
System.Object
NativeAdsManagerV2
Attributes

Additional features and requirements

Software Development Kit
Minimum supported OS
Windows 10 (10.0.10240.0)

Constructors

NativeAdsManagerV2(String, String)

Creates a new instance of the NativeAdsManagerV2 class. For a walkthrough that demonstrates how to use this constructor, including information about how to obtain the application ID and ad unit ID values, see Native ads.

Properties

AdditionalPublisherContext

Gets additional context for the ad request from the ad publisher.

Methods

RequestAd()

Requests a NativeAdV2 object for your app.

Events

AdReady

Raised when a NativeAdV2 is ready for your app.

ErrorOccurred

Raised when a NativeAdV2 encounters an operational error.

Applies to

See also