UpdateAdCounterHistogramRequest


@ExperimentalFeatures.Ext8OptIn
class UpdateAdCounterHistogramRequest


This class represents input to the AdSelectionManager#updateAdCounterHistogram in the AdSelectionManager.

Note that the FrequencyCapFilters.AD_EVENT_TYPE_WIN event type cannot be updated manually using the AdSelectionManager#updateAdCounterHistogram API.

Summary

Public constructors

UpdateAdCounterHistogramRequest(
    adSelectionId: Long,
    adEventType: Int,
    callerAdTech: AdTechIdentifier
)

Public functions

open operator Boolean
equals(other: Any?)

Checks whether two UpdateAdCounterHistogramRequest objects contain the same information.

open Int

Returns the hash of the UpdateAdCounterHistogramRequest object's data.

open String

Overrides the toString method.

Public properties

Int

A render URL for the winning ad.

Long

An ID unique only to a device user that identifies a successful ad selection.

AdTechIdentifier

The caller adtech entity's AdTechIdentifier.

Public constructors

UpdateAdCounterHistogramRequest

Added in 1.1.0-beta11
UpdateAdCounterHistogramRequest(
    adSelectionId: Long,
    adEventType: Int,
    callerAdTech: AdTechIdentifier
)
Parameters
adSelectionId: Long

An ID unique only to a device user that identifies a successful ad selection.

adEventType: Int

A render URL for the winning ad.

callerAdTech: AdTechIdentifier

The caller adtech entity's AdTechIdentifier.

Public functions

equals

open operator fun equals(other: Any?): Boolean

Checks whether two UpdateAdCounterHistogramRequest objects contain the same information.

hashCode

open fun hashCode(): Int

Returns the hash of the UpdateAdCounterHistogramRequest object's data.

toString

open fun toString(): String

Overrides the toString method.

Public properties

adEventType

Added in 1.1.0-beta11
val adEventTypeInt

A render URL for the winning ad.

adSelectionId

Added in 1.1.0-beta11
val adSelectionIdLong

An ID unique only to a device user that identifies a successful ad selection.

callerAdTech

Added in 1.1.0-beta11
val callerAdTechAdTechIdentifier

The caller adtech entity's AdTechIdentifier.