Managed Windows 8.0 AdControl Installation and Usage

Follow

AdDuplex control for Windows 8 is hosted on nuget.org.

To add AdDuplex AdControl for Windows to your XAML/C#/VB project do the following:

  1. Go to Tools -> Library Package Manager -> Package Manager Console
  2. Run the Install-Package command:
                    
    PM> Install-Package AdDuplexWindows
                    
                

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 "AdDuplexWindows" and click install

To start participating in the exchange:

  1. Register your Windows 8 app in AdDuplex system and write down your AppId.
  2. Add a namespace declaration to your Page
                    
    xmlns:adduplex="using:AdDuplex.Controls"
                    
                
  3. Add AdControl to your page:
                    
    <adduplex:AdControl x:Name="adDuplexAd" 
                        AppId="YOUR_AppId_HERE" 
                        Size="500x130"
                        />
                    
                
    Current version of AdDuplex for Windows 8 supports these ad sizes: 160x600, 250x125, 250x250, 292x60, 300x250, 500x130, 728x90
  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.
Have more questions? Submit a request

Comments

Powered by Zendesk