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

XNA Ad Enabled Apps

Updated: March 24, 2014

Published: April 2, 2014

During development, the AdGameComponent and AdUnitId are set by default to values that will provide your app test ads. You must set these properties to release values before publishing your application.

Set the ApplicationId and the AdUnitId to their values in pubCenter

System_CLiX_important Important

You will not receive real ads from the mobile ad server if you do not set the following properties.




The application identifier (AdGameComponenet.ApplicationId property) is provided by Microsoft pubCenter. For information about how to obtain the AdGameComponenet.ApplicationId, see Microsoft pubCenter.


The ad unit identifier (DrawableAd.AdUnitId property) is provided by Microsoft pubCenter when the ad unit is created. For information about how to obtain the DrawableAd.AdUnitId, see Microsoft pubCenter.

Support and Feedback

Get product support or report a bug in the product by visiting the Windows Phone Dev Center support page (scroll down to the section "Microsoft Advertising support").

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

Community Additions

© 2015 Microsoft