4 Days Until Win 8: Show Me the Money

The way you deliver a Windows Store App is different from how Windows 7 (and prior) applications were delivered. The idea of delivering a Windows Store App on a disk is…pretty much gone. Rather, there is a Windows App Store that you can put your application into to distribute. You can also package and distribute applications more locally; however, if you are going to sell your Windows Store Application, chances are you will be going through the store.

Getting an application into the store is a topic I'll save for another day. The focus of today's blog entry is more about the opportunity to make money from an application in ways that were more reserved for the Web and for the game industry. Of course, you can continue to charge for an application. It is possible to put a price on your application and sell it outright. However, you have two new opportunities; in app offers and advertising.

In the first Windows Store App that I built, I choose to give the application away for free. Instead of putting a price on the application, I chose to put an advertisement into the application using the Microsoft Ad SDK.

My application is a game. If my application is downloaded and used enough, then I'm likely to add “in app” offers for extra game boards. I’ll offer those for a small fee. In the meantime, I'll simply use an ad unit to try to drive revenue. Ads make an interesting way to drive revenue provided you believe your application will be used by a lot of people and for longer periods of time.

How much revenue can the ads drive in my application? The answer to this is likely to change. It will also vary by what ad SDK and ad company I use. Using Microsoft's PubCenter service with the Ad SDK, I expect to make about four cent for every thousand times an ad is displayed. That is not a great amount of revenue (4 cents per eCPM), but if people use the application, the pennies will add up. Additionally, ads refresh over time, so it is likely that multiple ad views will be obtained for each time the game is played.

To add ads, you need to install the ad SDK, add the code to your app, and then set up an account to have ads served to you.

Installing the Ad SDK

The first step to using ads is to download the Microsoft Advertising SDK. After downloading the MSI file, you can choose to run the file. This will cause a simple install process to happen. This install is simple enough that I don't feel the need to detail it here.

Adding Ad Code

Once installed, the next step is to add and AdControl from the SDK to your application. Before you can do this, you need to add Internet Client capabilities to your application if you have not already. This is because you are serving ads via the Internet. To add Internet Client capabilities, you'll use the Solution Explorer to find the Package.appxmanifest file in your application. Once you select this, you'll be able to use the Capabilities tab to select this by checking the box next to Internet (Client).

It is very important to note that because you just added Internet capabilities to your application, you will have to also make sure you add a privacy policy to your application. If you don't, your application will not pass the certification process. More than one person has run into this issue in submitting apps to the Windows App Store. While your application isn't necessarily collecting data, you still have to declare what you are doing.

Once you have the Internet Client capabilities added, you next need to add a reference from your application to the Microsoft Advertising SDK for Windows 8. Right click on References in the Solution Explorer and select Add Reference... You should find the SDK under Windows --> Extensions provided you installed the SDK.

With the SDK now referenced, you can update the code in your application. In a XAML-based application, you'll need to add the following namespace reference to your XAML file:


This will generally be added above the x:Class reference.

With the references in place, you should now be able to drag an AdControl from the Toolbar onto your XAML file. This will add XAML similar to the following:


Adding an Ad in Visual Studio

With this basic code added, you can compile the application and run it. You'll see a 250x250 ad in your application. You should note, however, that this is a test ad and that you are not yet displaying real ads. You'll need to add an ApplicationId and AdUnitID.

Windows 8 App Ad

Setting up an Microsoft Pub Center Account

To set up the ApplicationId and AdUnit ID so that you can have real ads sent to your application, you need to create a Microsoft Pub Center account. Once you set up an account with the pubCenter, you'll then have what you need.

I could walk through the steps to set up a PubCenter account; however, the following PDF does a pretty good job:


What you'll learn is that you can go into the Setup tab of the PubCenter and register an application to receive ads. Once you register the application, an application ID will be assigned. This is the ID you'll use in your application.

With the application registered, you'll be able to set up the ad units you want to use in your app. You'll give each a name to identify it. You'll also select the size of the app and the App Store category your app fits:

Microsoft PubCenter

There are a number of standard ad sizes you can use in your application. This includes:

  • 300 x 250 (Medium rectangle)
  • 728 x 90 (Leaderboard)
  • 160 x 600 (Wide skyscraper)
  • 250 x 250 (Square pop-up)
  • 500 x 130 (Split view banner)
  • 292 x 60 (Default snap view banner)
  • 250 x 125 (Half tile)

Making Money with the Microsoft Ad SDK

Adding Ads is not very hard. If you expect your application to be popular, then with time, the display of ads can lead to making pennies, nickels or even dollars. If you choose to add a fee to your application, one option you have is to create a trial version. You could choose to add ads in the trial and state that they will be removed in the paid edition. This gives you a way to make money whether the person uses the trial or the paid version.

Ultimately, it is up to you to decide how to make money in your applications. With Windows Store Apps, Microsoft has made it pretty easy to use Ads. The one thing I'll reiterate — if you use ads in your application don't forget to include a privacy policy. You'll need it to pass certification.

# # #

Your Idea. Your App. 30 Days
Get daily guidance from Generation App for building Windows 8 applications.

About the Author

Bradley L. Jones

Bradley Jones can be referred to as a webmaster, coding grunt, developer, analyst, director, Editor-in-Chief, Community Leader, and various other things. His focus is often in technology with a special interest in the area of the big "C"s -- C, C++, and C#; however, his experience includes development in PowerBuilder, Visual Basic, some Java, ASP.NET, COBOL I/II, and various other technologies. He has authored more than 20 books including Windows Live Essentials and Services, Web 2.0 Heroes, Teach Yourself the C# Language in 21 Days, and an update of Teach Yourself C++ in 21 Days. He is the founder and previous president of the Indianapolis .NET Developers Association which is a charter INETA group with membership of nearly 3000. Brad blogs at http://blog.codeguru.com/blog. You can often hear is ramblings on the CodeGuru.com or VBForums discussion forums.

Blog Categories

Blog Archives


  • Authentic NFL T-Shirts,thailand france jersey

    Posted by EldereeParm on 05/13/2013 04:24am

    Conti led your data over the earliest year, Juventus within the little league and also glass an overall total with 43 area marketing campaign, made 28 is victorious of sixteen ripped a single bad outcomes, winning amount reached 62. 79%; by means of May possibly 3rd this year, Conti led this war of the little league, glass and also European about three winners little league tournament situation an overall total with forty eight games, made 32 is victorious record 8-10 ripped 8-10 bad, winning amount reached 66. 67%, the two year winning typical as long as 64. 8%. Large winning number info with Conti extremely when compared with ahead of for you to cause this international Milan Winners Little league Mourinho. [url=http://2013soccerjerseys.bravesites.com/]Cheap Soccer jerseys[/url] This Portuguese coach throughout Milan 2 yrs, led this Nerazzurri have been for you to attend this battle, 108 games, made 68 is victorious 26 ripped 16 bad, record is merely 62. 96%. During those times, below this have an effect on with "telephone gate" time, this Serie A powerful convention with departing inter Milan are however formidable. Vary a final a couple Serie A new Little league, AIR CONDITIONING Milan competitiveness is just not drained, Napoli enjoy steadiness, and also Florence, Lazio and also Udine J these competitors receive converts towards bombing, rivalry can be competitive when compared with many, however, Conti winning above Mourinho, can be simply no quick process. This Bianconeri within the a couple year, Conti proved him self is becoming one of many international major commander throughout main. In the beginning this Juventus coach, Conti's wage is merely 1500000 euros, the best following a finish of the year, team us president Andre i believe proclaimed the beginning with his or her twice Kong Shuai's wage from your subsequent year, or 3000000 euros. Outcomes from your recent appear, a choice which the Juventus management apparently significantly empowered Conti's operate enthusiasm, and also obtained superior outcomes, although Conti was as well Chelsea, [url=http://2013soccerjerseys.bravesites.com/]Cheap Soccer jerseys[/url] Authentic The country and also Venice Saint-Germain awareness. "Milan sports newspaper" said, Conti can be ready and the team with post paid negotiations, includes a couple seasons of the brilliant successes seeing that money, Conti called for a new wage with regarding 5000000 euro for your different post paid, knowning that this tavern have to give whole help throughout the introduction of this gamers around the challenge, and also must be the most effective gamers on earth. Whilst the season afterwards came the opposite little league ball thrown an olive branch towards Conti information, bit of likelihood although problematic veins Juventus blood he quit, and also his or her Juventus have been in healthy and balanced growing time period, he was this team's program can be definately not concluded. A contract which have no risk from your "rear", a new configuration with major formidable team, there are tons with Conti and also his or her adult men can be obtained.

  • Here Offer the discount MBT shoes online with high-quality 0e

    Posted by Robzrq86 on 04/16/2013 01:37am

    [p]They may be known via their power rings, regarded as the best weapon inside the DC universe . The region's [url=http://www.nnikeairmax2013.com]nike air max 2012[/url] actual magnitude turned the reflection with the greatness in the person spirit the pioneers of one's nation acquired hoped to exalt . Television commercials, giant pictures of athletes painted on skyscrapers, and also loud college football uniforms [url=http://www.nnikeairmax2013.com]nike air max 2013[/url] are evidence the fact that swoosh is one kind of us and isn't going anywhere in the near future . Dance sneakers are very important for small children and adults that happen to be just you start with a particular style of dance . The Tiger Walk is becoming well liked with fans they emulate it with fewer numbers at road games in which the tradition has expanded to cheering about the Auburn Tigers once they walk from your bus to a visiting stadium . tag could be a complicated process . The shoe has extra stability, thanks to double-lasted forefoot and heel . Some are practical plus some are strictly [url=http://www.nnikeairmax2013.com]nike air max 90[/url] for leisure.[/p][p]So, beautiful and trendy kids, arrived at our retail outlet to buy a set of Nike jordan shoes, you will find this new companion can content you together with could protect your ankle better . Just stuff some sponges inside the shoe and begin painting the surface . Using the [url=http://www.nnikeairmax2013.com]women nike air max [/url] instructions below, it is certain until this won't ever happen to you . Yahoo search will create a variety of results after a relevant keyword is entered in their box . This, however, just isn't true . This can also are great in protecting you from the sun's strong heat (in addition to the essential hat and sun cream) . One specific issue that persons are executing lots using their cellphones [url=http://www.nnikeairmax2013.com]nike air max 95[/url] is checking emails . Sandals and flats are available in various designs which enable it to be utilized for wearing everyday.[/p]

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • As all sorts of data becomes available for storage, analysis and retrieval - so called 'Big Data' - there are potentially huge benefits, but equally huge challenges...
  • The agile organization needs knowledge to act on, quickly and effectively. Though many organizations are clamouring for "Big Data", not nearly as many know what to do with it...
  • Cloud-based integration solutions can be confusing. Adding to the confusion are the multiple ways IT departments can deliver such integration...

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date