NativeAdsManager constructor
Collapse the table of content
Expand the table of content

NativeAdsManager.NativeAdsManager constructor

Creates a new instance of the NativeAdsManager class. For a walkthrough that demonstrates how to use this constructor, including information about how to obtain the application ID and ad unit ID values, see Native ads.

Syntax


public:
NativeAdsManager(
  String^ applicationId, 
  String^ adUnitId
)

Parameters

applicationId

Type: System.String [.NET] | Platform::String [C++]

The application ID for the Native ad unit that you want to associate with the native ad.

adUnitId

Type: System.String [.NET] | Platform::String [C++]

The ad unit ID for the Native ad unit that you want to associate with the native ad.

Requirements

Minimum supported client

Windows 10

Minimum supported server

None supported

Minimum supported phone

Windows 10 Mobile

Namespace

Microsoft.Advertising.WinRT.UI
Microsoft::Advertising::WinRT::UI [C++]

Metadata

Microsoft.Advertising.winmd

See also

Native ads
NativeAdsManager

 

 

Show:
© 2017 Microsoft