
Today placing advertising banners in the application is a popular way to monetize solutions.
Adduplex is one of the convenient services for contextual advertising in Windows / Windows Phone applications.
The presence of the SDK and friendly API allows you to quickly install the necessary set of tools and in a few steps to get an advertising element in the application.
')
Let's see how this happens in practice.
check in
In case you do not have an AdDuplex account, you should register at
http://www.adduplex.com . Registration will take no more than a minute.
Now we will register the
application in AdDuplex, in which you need to place an advertising banner. Click on "New app":

Fill in the appropriate fields. Adduplex allows you to not specify the URL of the application, if it has not yet been published in the store:

Now we got the AppID, which will need to be specified when adding an item to the application page:

In 4 steps we make an advertising banner (in the form of text or text with an image):

We save and after checking we receive a notification in the browser:

We complete the registration of the application by adding a link to it in the store:

We proceed to the addition of an advertising banner in the application.
Add AdDuplex to the application
In the Visual Studio Extensions Gallery, we’ll find and download the
AdDuplex Universal SDK for Universal Applications (Windows 8.1 / Windows Phone 8.1) on XAML (C # / VB.NET and C ++).
Install this SDK, and in the Solution Explorer window, add a link to the project
“References ...” -> “Add New Reference ...”
In the next window “Windows 8.1” / “Windows Phone 8.1” -> “Extensions” we select “AdDuplex SDK for Windows 8.1 (XAML edition)”, and in the application for Windows Phone 8.1 “AdDuplex SDK for Windows Phone 8.1 (XAML edition)” respectively.
After connecting all the necessary components, go to work with the application.
Open the MainPage.xaml file in the project and connect AdDuplex.Controls:
Windows 8.1xmlns:ad="using:AdDuplex.Universal.Controls.Win.XAML"
Windows Phone 8.1 xmlns:ad="using:AdDuplex.Universal.Controls.WinPhone.XAML"
Add an AdControl element to the page:
Windows 8.1 <ad:AdControl x:Name="adDuplexAd" AppId="YOUR_AppId_HERE" Size="500x130" />
The sizes of banners in
Windows 8.1 applications: 160x600, 250x125, 250x250, 292x60, 300x250, 500x130 and 728x90.
Windows Phone 8.1 <ad:AdControl x:Name="adDuplexAd" AppId="YOUR_AppId_HERE" />

This SDK can also be used in standalone Windows 8.1 and Windows Phone 8.1 (XAML) applications.
Detailed instructions in Russian are available at the following
link .
Conclusion
Adduplex shows itself as a worthy tool for placing contextual advertising, which does not cause much difficulty in implementation. You can get an advertising banner in the application within a few minutes.
AdDuplex developers have prepared
detailed documentation for mobile applications in HTML / JavaScript, Windows Phone 8.0, etc. There are also collected examples of the use of AdDuplex in Unity.
Especially for applications with the integration of the AdDuplex SDK, it is possible to get 500,000 impressions on the AdDuplex network by participating in the
competition .
useful links