Language

AdEventType Enum

Definition

Identifies the event category used for ad counter histograms and frequency cap filtering.

public enum AdEventType
type AdEventType = 
Inheritance
AdEventType

Fields

Name Value Description
Win 0

The WIN ad event type is automatically populated within the Protected Audience service for any winning ad which is returned from Protected Audience ad selection.

It should not be used to manually update an ad counter histogram.

Android reference for android.adservices.common.FrequencyCapFilters.AD_EVENT_TYPE_WIN.

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.

Impression 1

An impression event counted through an explicit ad counter histogram update, not automatically by impression reporting.

View 2

A view event defined by the ad technology provider and counted through an explicit ad counter histogram update.

Click 3

A click event defined by the ad technology provider and counted through an explicit ad counter histogram update.

Remarks

The values correspond to the AD_EVENT_TYPE_* constants in Android's FrequencyCapFilters. Win counts are updated by ad selection; impression, view, and click counts require explicit histogram updates. See the event counting contracts.

Applies to