Microsoft.Advertising.WinRT.UI Namespace

Provides types for displaying banner ads, interstitial ads, and native ads in Universal Windows Platform (UWP) apps.

Classes

AdControl

Represents a control that displays banner ads in an app.

AdErrorEventArgs

Provides data for the ErrorOccurred event of the AdControl, InterstitialAd, and NativeAdsManager classes.

InterstitialAd

Represents a control that displays interstitial video or interstitial banner ads in an app. For walkthroughs and code examples that demonstrate how to use this control, see Interstitial ads and Advertising samples on GitHub.

ManipulationStateChangedEventArgs

Provides data for the OnManipulationStateChanged event.

MouseWheelEventArgs

Provides data for the OnMouseWheel event.

NativeAd

Important

The NativeAd class is deprecated. Use NativeAdV2 instead.

Represents a native ad, which is an ad format where all the components of the ad (including the title, image, description, and call to action text) are delivered to your app as separate elements. Use the properties of the NativeAd class to get each element of the native ad. You can integrate these elements into your app using your own choice of fonts, colors, and animations to build an ad experience that fits the look and feel of your app.

NativeAdClickedEventArgs

Provides data for the AdClicked event.

NativeAdErrorEventArgs

Provides data for the ErrorOccurred event.

NativeAdReadyEventArgs

Provides data for the AdReady event.

NativeAdsManager

Important

The NativeAdsManager class is deprecated. Use NativeAdsManagerV2 instead.

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.

NativeAdsManagerV2

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.

NativeAdV2

Represents a native ad, which is an ad format where all the components of the ad (including the title, image, description, and call to action text) are delivered to your app as separate elements. Use the properties of the NativeAdV2 class to get each element of the native ad. You can integrate these elements into your app using your own choice of fonts, colors, and animations to build an ad experience that fits the look and feel of your app. For a walkthrough that demonstrates how to use the NativeAdV2 class in your app, including code examples, see Native ads.

NativeImage

Describes an icon or main image for a native ad (that is, a NativeAdV2 object). The IconImage and MainImages properties return objects of this type. For a walkthrough that demonstrates how to use this class in your app, including code examples, see Native ads.

PointerDownEventArgs

Provides data for the OnPointerDown event.

PointerMoveEventArgs

Provides data for the OnPointerMove event.

Enums

AdType

Describes the type of interstitial ad to fetch when calling the RequestAd method.

InterstitialAdState

Describes the state of an interstitial ad.

See also