Dil

UpdateAdCounterHistogramRequest.Builder.SetAdEventType(Int32) Method

Definition

Sets the ad event type which, along with an ad's counter keys, identifies which histogram should be updated.

[Android.Runtime.Register("setAdEventType", "(I)Landroid/adservices/adselection/UpdateAdCounterHistogramRequest$Builder;", "", ApiSince=35)]
public Android.AdServices.AdSelection.UpdateAdCounterHistogramRequest.Builder SetAdEventType(int adEventType);
[<Android.Runtime.Register("setAdEventType", "(I)Landroid/adservices/adselection/UpdateAdCounterHistogramRequest$Builder;", "", ApiSince=35)>]
member this.SetAdEventType : int -> Android.AdServices.AdSelection.UpdateAdCounterHistogramRequest.Builder

Parameters

adEventType
Int32

Value is one of the following: FrequencyCapFilters.AD_EVENT_TYPE_WIN; FrequencyCapFilters.AD_EVENT_TYPE_IMPRESSION; FrequencyCapFilters.AD_EVENT_TYPE_VIEW; FrequencyCapFilters.AD_EVENT_TYPE_CLICK

Returns

Attributes

Remarks

Sets the ad event type which, along with an ad's counter keys, identifies which histogram should be updated.

See UpdateAdCounterHistogramRequest.getAdEventType() for more information.

Android reference for android.adservices.adselection.UpdateAdCounterHistogramRequest.Builder.setAdEventType.

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