AdData.AdCounterKeys Property

Definition

Gets the set of keys used in counting events.

public System.Collections.Generic.ICollection<Java.Lang.Integer> AdCounterKeys { [Android.Runtime.Register("getAdCounterKeys", "()Ljava/util/Set;", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getAdCounterKeys", "()Ljava/util/Set;", "", ApiSince=35)>]
member this.AdCounterKeys : System.Collections.Generic.ICollection<Java.Lang.Integer>

Property Value

Attributes

Remarks

Gets the set of keys used in counting events.

No more than 10 ad counter keys may be associated with an ad.

The keys and counts per key are used in frequency cap filtering during ad selection to disqualify associated ads from being submitted to bidding.

Note that these keys can be overwritten along with the ads and other bidding data for a custom audience during the custom audience's daily update.

Java documentation for android.adservices.common.AdData.getAdCounterKeys().

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