FetchAndJoinCustomAudienceRequest
class FetchAndJoinCustomAudienceRequest
The request object wrapping the required and optional parameters needed to fetch a CustomAudience
.
fetchUri
is the only required parameter. It represents the URI to fetch a custom audience from. name
, activationTime
, expirationTime
and userBiddingSignals
are optional parameters. They represent a partial custom audience which can be used by the caller to inform the choice of the custom audience the user should be added to. Any field set by the caller cannot be overridden by the custom audience fetched from the fetchUri
. For more information about each field refer to CustomAudience
.
Summary
Nested classes | |
---|---|
Builder for |
Public methods | |
---|---|
Boolean | |
Instant? |
Reference |
Instant? |
Reference |
Uri | |
String? |
getName() Reference |
AdSelectionSignals? |
Reference |
Int |
hashCode() |
String |
toString() |
Public methods
equals
fun equals(other: Any?): Boolean
Parameters | |
---|---|
obj |
the reference object with which to compare. |
Return | |
---|---|
Boolean |
true only if two FetchAndJoinCustomAudienceRequest objects contain the same information. |
getActivationTime
fun getActivationTime(): Instant?
Reference CustomAudience.getActivationTime()
for details.
getExpirationTime
fun getExpirationTime(): Instant?
Reference CustomAudience.getExpirationTime()
for details.
getFetchUri
fun getFetchUri(): Uri
getUserBiddingSignals
fun getUserBiddingSignals(): AdSelectionSignals?
Reference CustomAudience.getUserBiddingSignals()
for details.
Return | |
---|---|
AdSelectionSignals? |
the buyer signals to be consumed by the buyer-provided JavaScript when the custom audience participates in an ad selection. This value may be null . |
hashCode
fun hashCode(): Int
Return | |
---|---|
Int |
the hash of the FetchAndJoinCustomAudienceRequest object's data. |
toString
fun toString(): String
Return | |
---|---|
String |
a human-readable representation of FetchAndJoinCustomAudienceRequest . |