다음을 통해 공유


UpdateAdCounterHistogramRequest.AdSelectionId Property

Definition

Gets the ad selection ID with which the rendered ad's events are associated.

public virtual long AdSelectionId { [Android.Runtime.Register("getAdSelectionId", "()J", "GetGetAdSelectionIdHandler", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getAdSelectionId", "()J", "GetGetAdSelectionIdHandler", ApiSince=35)>]
member this.AdSelectionId : int64

Property Value

Attributes

Remarks

Gets the ad selection ID with which the rendered ad's events are associated.

For more information about the ad selection ID, see AdSelectionOutcome.

The ad must have been selected from Protected Audience ad selection in the last 24 hours, and the ad selection call must have been initiated from the same app as the current calling app. Event histograms for all ad counter keys associated with the ad specified by the ad selection ID will be updated for the ad event type from #getAdEventType(), to be used in Protected Audience frequency cap filtering.

Java documentation for android.adservices.adselection.UpdateAdCounterHistogramRequest.getAdSelectionId().

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