PerBuyerConfiguration


@ExperimentalFeatures.Ext14OptIn
public final class PerBuyerConfiguration


Contains a per buyer configuration which will be used as part of a SellerConfiguration in a GetAdSelectionDataRequest. This object will be created by the calling SDK as part of creating the seller configuration.

Summary

Public constructors

PerBuyerConfiguration(
    int targetInputSizeBytes,
    @NonNull AdTechIdentifier buyer
)

Public methods

boolean
equals(Object other)

Checks whether two PerBuyerConfiguration objects contain the same information.

final @NonNull AdTechIdentifier

associated with this per buyer configuration.

final int

The service will make a best effort attempt to include this amount of bytes into the response of GetAdSelectionData for this buyer.

int

Returns the hash of the PerBuyerConfiguration object's data.

@NonNull String

Overrides the toString method.

Public constructors

PerBuyerConfiguration

Added in 1.1.0-beta12
public PerBuyerConfiguration(
    int targetInputSizeBytes,
    @NonNull AdTechIdentifier buyer
)
Parameters
int targetInputSizeBytes

The service will make a best effort attempt to include this amount of bytes into the response of GetAdSelectionData for this buyer.

@NonNull AdTechIdentifier buyer

associated with this per buyer configuration.

Public methods

equals

public boolean equals(Object other)

Checks whether two PerBuyerConfiguration objects contain the same information.

getBuyer

Added in 1.1.0-beta12
public final @NonNull AdTechIdentifier getBuyer()

associated with this per buyer configuration.

getTargetInputSizeBytes

Added in 1.1.0-beta12
public final int getTargetInputSizeBytes()

The service will make a best effort attempt to include this amount of bytes into the response of GetAdSelectionData for this buyer.

hashCode

public int hashCode()

Returns the hash of the PerBuyerConfiguration object's data.

toString

public @NonNull String toString()

Overrides the toString method.