Windows Phone 8.1 XAML AdDuplex Interstitial Ad Installation and Usage


AdDuplex Universal SDK Interstitials can be used for standalone Windows Phone 8.1 XAML apps.

To add AdDuplex interstitial ads to your Windows Phone 8.1 XAML project do the following:

  1. Install the SDK via the Visual Studio Gallery web page.
  2. From the Solution Explorer window, right click References…, and select Add New Reference…
  3. Click Windows, and then Extensions. Select AdDuplex SDK for Windows Phone 8.1 (XAML). Then click OK.

To start participating in the exchange:

  1. Register your Windows Phone app in AdDuplex system and write down your Ad unit ID and App key.
  2. Add the following line at the beginning of the OnLaunched method in the App.xaml.cs file
  3. Create an interstitial instance and show the ad
    AdDuplex.Universal.Controls.WinPhone.XAML.InterstitialAd interstitialAd = new AdDuplex.Universal.Controls.WinPhone.XAML.InterstitialAd("YOUR_AD_UNIT_ID");
    await interstitialAd.ShowAdAsync();
  4. In order to improve user experience you can pre-cache ads by calling
    await interstitialAd.LoadAdAsync();
Have more questions? Submit a request


  • Avatar

    Great thanks for the update

Powered by Zendesk