TrustedBiddingData


public final class TrustedBiddingData


Represents data used during the ad selection process to fetch buyer bidding signals from a trusted key/value server. The fetched data is used during the ad selection process and consumed by buyer JavaScript logic running in an isolated execution environment.

Summary

Public constructors

TrustedBiddingData(
    @NonNull Uri trustedBiddingUri,
    @NonNull List<@NonNull String> trustedBiddingKeys
)

Public methods

boolean
equals(Object other)
final @NonNull List<@NonNull String>

the list of keys to query from the trusted key-value server holding bidding signals.

final @NonNull Uri

the URI pointing to the trusted key-value server holding bidding signals.

int
@NonNull String

Public constructors

TrustedBiddingData

Added in 1.0.0
public TrustedBiddingData(
    @NonNull Uri trustedBiddingUri,
    @NonNull List<@NonNull String> trustedBiddingKeys
)
Parameters
@NonNull Uri trustedBiddingUri

the URI pointing to the trusted key-value server holding bidding signals. The URI must use HTTPS.

@NonNull List<@NonNull String> trustedBiddingKeys

the list of keys to query from the trusted key-value server holding bidding signals.

Public methods

equals

public boolean equals(Object other)
Returns
boolean

true if two TrustedBiddingData objects contain the same information

getTrustedBiddingKeys

Added in 1.0.0
public final @NonNull List<@NonNull StringgetTrustedBiddingKeys()

the list of keys to query from the trusted key-value server holding bidding signals.

getTrustedBiddingUri

Added in 1.0.0
public final @NonNull Uri getTrustedBiddingUri()

the URI pointing to the trusted key-value server holding bidding signals. The URI must use HTTPS.

hashCode

public int hashCode()
Returns
int

the hash of the TrustedBiddingData object's data

toString

public @NonNull String toString()