Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Microsoft Advertising SDK for Windows 8.1

Microsoft Advertising Services

Updated: March 31, 2014

Published: April 1, 2014

This documentation is for the Microsoft Advertising SDK for Windows 8.1. The Microsoft Advertising AdControl allows developers to show ads in their apps and earn revenue through their Microsoft pubCenter account.

The current SDK was released as an update through Visual Studio in March 2014. The version number is 8.1.40402.0.

You Want To…



Download, install and get started using the SDK.

See the Getting Started section.

Display ads in your Windows 8.1 app.

See the walkthrough for putting ads in an app using HTML 5/JavaScript.

Display ads in your XAML/C# application.

See the walkthrough for putting ads in an app using XAML/C#.

Drag and drop the AdControl into a XAML based app using the Visual Studio 2013 Designer.

See the walkthrough that shows how to use the Visual Studio 2013 Designer for XAML based apps.

Control how often a new ad is shown in your app.

Set the isAutoRefreshEnabled property to false. Then you can use the Refresh method to request a new ad.

Manage the ad units in your pubCenter account using Visual Studio 2013

See how your pubCenter account can be integrated into Visual Studio 2013 using the Connected Services Manager.

Handle AdControl errors in your app.

Error handling related to the Advertising SDK is explained in the topic AdControl Error Handling. After reading that topic, go to the walkthroughs in the section Error Handling for the AdControl to see sample AdControl error handling code.

Get development support or report a bug in the SDK.

Get development support or report a bug in the advertising SDK by visiting the Windows 8 Dev Center support page.

Get more information about pubCenter, Microsoft Advertising and how developers are making money from ads in apps.

Visit the Microsoft Advertising Ads in Apps for Windows 8 website.

In This Section

The documentation for the SDK is divided into the following sections.



Developer Information

Provides information about coding with the Advertising SDK.

Getting Started

Describes the prerequisites and installation of the Advertising SDK.

Developer Walkthroughs

Provides walkthroughs that create simple apps with ads.

Additional Coding Examples

Provides more examples of programming with the Advertising SDK.

Troubleshooting Guides

The topics in this section describe solutions to the most common problems reported to Product Support. Guides are provided for XAML/C# and JavaScript/HTML

API Reference

Provides reference documentation for the APIs in the Advertising SDK.

Support and Feedback

Get product support or report a bug in the advertising SDK by visiting the Windows Store Apps developer support page support page. For product support, under "App development" click the "Advertising SDK" link. To post a question in the support forum, scroll down to "Find answers online" and click "Ads-in-Apps for Windows 8 forum".

Send feedback about this documentation to adsfdbk@microsoft.com. There is no product support through this alias. Documentation feedback only.

Community Additions

© 2015 Microsoft