Windows Phone AdControl Installation and Usage


Note: if you are working on a Windows Phone 8.1 XAML app (not Silverlight) please follow the instructions for the Universal SDK.

AdDuplex control for Windows Phone XAML apps (both v.7.x and 8) is hosted on

To add AdDuplex AdControl to your Windows Phone XAML based project do the following:

  1. Go to Tools -> Library Package Manager -> Package Manager Console (or Tools -> Library Package Manager -> Package Manager Console when in Visual Studio 2012 or below)
  2. Run the Install-Package command:
    PM> Install-Package AdDuplexWP8

Alternatively you can install the control via NuGet UI:

  1. Right-click on your project
  2. Click on "Manage NuGet Packages..."
  3. In the Online portion search for "AdDuplexWP8" and click install

To start participating in the exchange:

  1. Register your Windows Phone app in AdDuplex system, create banner ad unit and write down your AdUnitId and AppKey.
  2. Add a namespace declaration to your Page
  3. Add AdControl to your page:
    <adduplex:AdControl x:Name="adDuplexAd" 

  4. Make sure the whole AdControl is visible by verifying that it's not obstructed by any other objects on your page.
  5. You can preview your own exchange ad by setting IsTest property to true.
  6. App installation tracking without the ad control (or with an ad control which is not placed on the first page) can be achieved by adding the following line of code to your App.xaml.cs Application_Launching method

Have more questions? Submit a request


Powered by Zendesk