Language

ComponentAdData(Uri, String) Constructor

Definition

Constructs a ComponentAdData object.

[Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Ljava/lang/String;)V", "", ApiSince=36)]
public ComponentAdData(Android.Net.Uri renderUri, string adRenderId);
[<Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Ljava/lang/String;)V", "", ApiSince=36)>]
new Android.AdServices.Common.ComponentAdData : Android.Net.Uri * string -> Android.AdServices.Common.ComponentAdData

Parameters

renderUri
Uri

the URI that points to the component's rendering resources. This value cannot be null.

adRenderId
String

the component ad render ID used in the auction flow to identify the ad and bid on it. This ID is typically generated by the buyer ad tech and is also used to track the individual component within the larger ad. This value cannot be null.

Attributes

Remarks

Constructs a ComponentAdData object.

This object represents a single component within a multi-part ad. The provided render URI points to the resources needed to render this component. Both the URI and the resources to render the component are provided by the buyer ad tech.

Android reference for android.adservices.common.ComponentAdData.ComponentAdData.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to