PersistAdSelectionResultRequest


@ExperimentalFeatures.Ext10OptIn
class PersistAdSelectionResultRequest


Represent input parameters to the AdSelectionManager#persistAdSelectionResult API.

Summary

Public constructors

PersistAdSelectionResultRequest(
    adSelectionId: Long,
    seller: AdTechIdentifier?,
    adSelectionResult: ByteArray?
)

Public functions

open operator Boolean
equals(other: Any?)

Checks whether two PersistAdSelectionResultRequest contain the same information.

open Int

Returns the hash of the PersistAdSelectionResultRequest object's data.

open String

Overrides the toString method.

Public properties

Long

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

ByteArray?

The adSelectionResult that is collected from device.

AdTechIdentifier?

AdTechIdentifier of the seller, for example "www.example-ssp.com".

Public constructors

PersistAdSelectionResultRequest

Added in 1.1.0-beta11
PersistAdSelectionResultRequest(
    adSelectionId: Long,
    seller: AdTechIdentifier? = null,
    adSelectionResult: ByteArray? = null
)
Parameters
adSelectionId: Long

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

seller: AdTechIdentifier? = null

AdTechIdentifier of the seller, for example "www.example-ssp.com".

adSelectionResult: ByteArray? = null

The adSelectionResult that is collected from device.

Public functions

equals

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

Checks whether two PersistAdSelectionResultRequest contain the same information.

hashCode

open fun hashCode(): Int

Returns the hash of the PersistAdSelectionResultRequest object's data.

toString

open fun toString(): String

Overrides the toString method.

Public properties

adSelectionId

Added in 1.1.0-beta11
val adSelectionIdLong

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

adSelectionResult

Added in 1.1.0-beta11
val adSelectionResultByteArray?

The adSelectionResult that is collected from device.

seller

Added in 1.1.0-beta11
val sellerAdTechIdentifier?

AdTechIdentifier of the seller, for example "www.example-ssp.com".