AdControl.AdUnitId property
Gets or sets the ad unit ID for this AdControl object.
Syntax
public string AdUnitId { get; set; }
Property value
Type: System.String.
The ad unit ID for this AdControl object.
Remarks
The ad unit ID is available on the Monetize with ads page in the Windows Dev Center dashboard.
This property can be set only when the AdControl is first initialized. After it is set, this property cannot be modified.
Requirements
| Minimum supported phone | Windows Phone 8 Silverlight |
|---|---|
| Namespace | Microsoft.Advertising.Mobile.UI |
| Assembly | Microsoft.Advertising.Mobile.UI.dll |
Show: