CreateAd Method (String, Rectangle, AutoRefreshEnabled)
Updated: August 2, 2013
Published: April 2, 2014
Creates a new DrawableAd object.
Assembly: Microsoft.Advertising.Mobile.Xna (in Microsoft.Advertising.Mobile.Xna)
Specifies the unique ad unit identifier (AdUnitId) for the ad.
Specifies the rectangle that contains the ad that will be rendered.
When this property is set to true, the DrawableAd object this method creates will download and show new ads automatically, if any are available.
A new instance of the DrawableAd class.
Windows Phone 7.x only
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 email@example.com. There is no product support through this alias. Documentation feedback only.