CustomAudience.Builder.SetAds(IList<AdData>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.