Share via


NativeAdsManagerV2(String, String) Constructor

Definition

Creates a new instance of the NativeAdsManagerV2 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.

public:
 NativeAdsManagerV2(Platform::String ^ applicationId, Platform::String ^ adUnitId);
/// [Windows.Foundation.Metadata.Overload("CreateInstance1")]
 NativeAdsManagerV2(winrt::hstring const& applicationId, winrt::hstring const& adUnitId);
[Windows.Foundation.Metadata.Overload("CreateInstance1")]
public NativeAdsManagerV2(string applicationId, string adUnitId);
function NativeAdsManagerV2(applicationId, adUnitId)
Public Sub New (applicationId As String, adUnitId As String)

Parameters

applicationId
String

Platform::String

winrt::hstring

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

adUnitId
String

Platform::String

winrt::hstring

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

Attributes

Applies to

See also