다음을 통해 공유


CustomAudience.Ads Property

Definition

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

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

Property Value

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

Attributes

Remarks

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

If not specified, or if an empty list is provided, the CustomAudience will not participate in ad selection until a valid list of ads are provided via the daily update for the custom audience.

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.getAds().

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