Adding ads to your apps
[ This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation ]
Make more money from your Windows apps by displaying video and banner ads in your apps. The ads show in Windows apps for PCs, tablets, and phones. You can monitor your ad performance in real time by using the Windows Dev Center dashboard.
To include ads in your apps, use the Microsoft Advertising SDK for Windows and Windows Phone 8.x. Use the following resources to get started.
|Install the Microsoft Advertising SDK for Windows and Windows Phone 8.x||Provides installation instructions for the Microsoft Advertising SDK for Windows and Windows Phone 8.x.|
|Banner ads||Provides instructions for adding a banner ad to your app by using the AdControl class.|
|Interstitial ads||Provides instructions for adding an interstitial ad to your app by using the InterstitialAd class.|
|Set up ad units in your app||Provides instructions for using test ad units and live ad units in your app.|
Ad mediation is deprecated for Windows 8.x and Windows Phone 8.x apps
Ad mediation using the AdMediatorControl class in the Microsoft Advertising SDK for Windows and Windows Phone 8.x is now deprecated. As of September 15, 2017, we no longer support using AdMediatorControl in new app submissions. If you publish a new app submission that uses AdMediatorControl to the Store after this date, the control will not show ads at run time. If you published an app that uses AdMediatorControl before September 15, 2017, your app will continue to receive ads. However, you will not be able to change your mediation settings in Windows Dev Center and we will no longer support bug fixes.
To display banner ads in new app submissions, we recommend that you use the AdControl class instead.