Design your Windows 8 app with ads in mind

Learn how to avoid design problems while adding ads to your half-ready app

surfaceCreating a game or app is fun! And the best part is getting that engine running, isn’t it? Everybody loves core functionality. But what about the rest? If you design for Windows 8, sooner or later you will have to think about charms, contracts, promotional images and maybe you want to make a few bucks with advertisement.

This post is about getting ads in your app as soon as possible. This way there will be less surprises when you submit the app.

For a new game I am developing I need to “fake” some ads in my design. The easiest way to do this is as follows:

Download the Microsoft Advertising SDK


Place a test ad on you XAML Page

<Page xmlns:UI="using:Microsoft.Advertising.WinRT.UI" ...
<UI:AdControl HorizontalAlignment="Left"


During the design of your app or game, you probably don’t need real ads. To get mockup ads from microsoft, make sure to set the ApplicationId to d25517cb-12d4-4699-8bdc-52040c712cab

The AdUnitId determines the type of the ad. Here is a table with all possible values.

So if all goes well, you will see test ads appearing on your pages:


Written by Loek van den Ouweland on January 05, 2013. Questions regarding this artice? You can send them to the address below.
By using this site, you acknowledge that you have read and understand our Cookie and Privacy Policy.