Adding Advertisements to Your App

Many ad platforms exist that can be integrated into your app. Some pay you when an ad is shown to your user (paying per impression) and some pay you when a user taps on the ad (paying per click). In this section, we look at integrating ads from Microsoft Advertising pubCenter into a universal app.

Using pubCenter to show ads has several nice aspects: It pays per impression, it’s easy to manage through http://pubcenter.microsoft.com and the Windows Dev Center dashboard, it’s designed to serve ads to universal apps, and Visual Studio includes some built-in integration.

Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.