AdSelectionFromOutcomesConfig


@ExperimentalFeatures.Ext10OptIn
class AdSelectionFromOutcomesConfig


Contains the configuration of the ad selection process that select a winner from a given list of ad selection ids.

Instances of this class are created by SDKs to be provided as arguments to the AdSelectionManager#selectAds methods in AdSelectionManager.

Summary

Public constructors

AdSelectionFromOutcomesConfig(
    seller: AdTechIdentifier,
    adSelectionIds: List<Long>,
    adSelectionSignals: AdSelectionSignals,
    selectionLogicUri: Uri
)

Public functions

open operator Boolean
equals(other: Any?)

Checks whether two AdSelectionFromOutcomesConfig objects contain the same information.

open Int

Returns the hash of the AdSelectionFromOutcomesConfig object's data.

open String

Overrides the toString method.

Public properties

List<Long>

a list of ad selection ids passed by the SSP to participate in the ad selection from outcomes process.

AdSelectionSignals

signals given to the participating buyers in the ad selection and reporting processes.

Uri

the URI used to retrieve the JS code containing the seller/SSP function used during the ad selection.

AdTechIdentifier

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

Public constructors

AdSelectionFromOutcomesConfig

Added in 1.1.0-beta06
AdSelectionFromOutcomesConfig(
    seller: AdTechIdentifier,
    adSelectionIds: List<Long>,
    adSelectionSignals: AdSelectionSignals,
    selectionLogicUri: Uri
)
Parameters
seller: AdTechIdentifier

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

adSelectionIds: List<Long>

a list of ad selection ids passed by the SSP to participate in the ad selection from outcomes process.

adSelectionSignals: AdSelectionSignals

signals given to the participating buyers in the ad selection and reporting processes.

selectionLogicUri: Uri

the URI used to retrieve the JS code containing the seller/SSP function used during the ad selection.

Public functions

equals

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

Checks whether two AdSelectionFromOutcomesConfig objects contain the same information.

hashCode

open fun hashCode(): Int

Returns the hash of the AdSelectionFromOutcomesConfig object's data.

toString

open fun toString(): String

Overrides the toString method.

Public properties

adSelectionIds

Added in 1.1.0-beta06
val adSelectionIdsList<Long>

a list of ad selection ids passed by the SSP to participate in the ad selection from outcomes process.

adSelectionSignals

Added in 1.1.0-beta06
val adSelectionSignalsAdSelectionSignals

signals given to the participating buyers in the ad selection and reporting processes.

selectionLogicUri

Added in 1.1.0-beta06
var selectionLogicUriUri

the URI used to retrieve the JS code containing the seller/SSP function used during the ad selection.

seller

Added in 1.1.0-beta06
val sellerAdTechIdentifier

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