AdUnitId property

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 phoneWindows Phone 8 Silverlight
Namespace Microsoft.Advertising.Mobile.UI
AssemblyMicrosoft.Advertising.Mobile.UI.dll

 

 

 

Show:
© 2017 Microsoft