CustomAudience.ComponentAds Property

Definition

This list of ComponentAdData objects is a full and complete list of the ad components that will be served by this CustomAudience during the ad selection process.

public System.Collections.Generic.IList<Android.AdServices.Common.ComponentAdData> ComponentAds { [Android.Runtime.Register("getComponentAds", "()Ljava/util/List;", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getComponentAds", "()Ljava/util/List;", "", ApiSince=36)>]
member this.ComponentAds : System.Collections.Generic.IList<Android.AdServices.Common.ComponentAdData>

Property Value

a List of ComponentAdData objects representing component ads currently served by the custom audience

Attributes

Remarks

This list of ComponentAdData objects is a full and complete list of the ad components that will be served by this CustomAudience during the ad selection process.

The combined ads size of the CA is limited and the sizes of each ad's string fields are considered using String#getBytes() in UTF-8 encoding.

Java documentation for android.adservices.customaudience.CustomAudience.getComponentAds().

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