Language

CustomAudience.Builder.SetAds(IList<AdData>) Method

Definition

Sets the initial remarketing ads served by the custom audience.

[Android.Runtime.Register("setAds", "(Ljava/util/List;)Landroid/adservices/customaudience/CustomAudience$Builder;", "", ApiSince=34)]
public Android.AdServices.CustomAudiences.CustomAudience.Builder SetAds(System.Collections.Generic.IList<Android.AdServices.Common.AdData>? ads);
[<Android.Runtime.Register("setAds", "(Ljava/util/List;)Landroid/adservices/customaudience/CustomAudience$Builder;", "", ApiSince=34)>]
member this.SetAds : System.Collections.Generic.IList<Android.AdServices.Common.AdData> -> Android.AdServices.CustomAudiences.CustomAudience.Builder

Parameters

ads
IList<AdData>

Returns

Attributes

Remarks

Sets the initial remarketing ads served by the custom audience. Will be assigned with an empty list if not provided.

See CustomAudience.getAds() for more information.

Android reference for android.adservices.customaudience.CustomAudience.Builder.setAds.

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