@ExperimentalFeatures.Ext14OptIn
class SellerConfiguration


SellerConfiguration will be part of the GetAdSelectionDataRequest and will be constructed and used by the SDK to influence the size of the response of GetAdSelectionData API.

Summary

Public constructors

SellerConfiguration(
    maximumPayloadSizeBytes: Int,
    perBuyerConfigurations: Set<PerBuyerConfiguration>
)

Public functions

open operator Boolean
equals(other: Any?)

Checks whether two SellerConfiguration objects contain the same information.

open Int

Returns the hash of the SellerConfiguration object's data.

open String

Overrides the toString method.

Public properties

Int

Returns the maximum size of the payload in bytes that the service will return.

Set<PerBuyerConfiguration>

Returns a set of per buyer configurations that the service will do a best effort to respect when constructing the response without exceeding maximumPayloadSizeBytes.

Public constructors

SellerConfiguration

Added in 1.1.0-beta12
SellerConfiguration(
    maximumPayloadSizeBytes: Int,
    perBuyerConfigurations: Set<PerBuyerConfiguration>
)
Parameters
maximumPayloadSizeBytes: Int

Returns the maximum size of the payload in bytes that the service will return.

perBuyerConfigurations: Set<PerBuyerConfiguration>

Returns a set of per buyer configurations that the service will do a best effort to respect when constructing the response without exceeding maximumPayloadSizeBytes. If this is empty, the service will fill up the response with buyer data until maximumPayloadSizeBytes is reached. Otherwise, only data from buyers from the per buyer configuration will be included.

Public functions

equals

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

Checks whether two SellerConfiguration objects contain the same information.

hashCode

open fun hashCode(): Int

Returns the hash of the SellerConfiguration object's data.

toString

open fun toString(): String

Overrides the toString method.

Public properties

maximumPayloadSizeBytes

Added in 1.1.0-beta12
val maximumPayloadSizeBytesInt

Returns the maximum size of the payload in bytes that the service will return.

perBuyerConfigurations

Added in 1.1.0-beta12
val perBuyerConfigurationsSet<PerBuyerConfiguration>

Returns a set of per buyer configurations that the service will do a best effort to respect when constructing the response without exceeding maximumPayloadSizeBytes. If this is empty, the service will fill up the response with buyer data until maximumPayloadSizeBytes is reached. Otherwise, only data from buyers from the per buyer configuration will be included.