ApplicationId property

AdControl.ApplicationId property

Gets or sets the application ID for this AdControl object.

Syntax

public string ApplicationId { get; set; }

Property value

Type: System.String.

The application ID for this AdControl object.

Exceptions

Exception Condition

ErrorOccurred

If more than one ApplicationId value is used in different AdControl objects that are in the app, some controls will not receive ads and will raise an ErrorOccurred event.

 

Remarks

The application ID is available on the Monetize with ads page in the Windows Dev Center dashboard.

This value must be the same for all AdControl instances within the app.

Requirements

Minimum supported phoneWindows Phone 8 Silverlight
Namespace Microsoft.Advertising.Mobile.UI
AssemblyMicrosoft.Advertising.Mobile.UI.dll

 

 

 

Show:
© 2017 Microsoft