PartialCustomAudience


@ExperimentalFeatures.Ext14OptIn
class PartialCustomAudience


Represents a partial custom audience that is passed along to DSP, when scheduling a delayed update for Custom Audience. Any field set by the caller cannot be overridden by the custom audience fetched from the updateUri.

Given multiple Custom Audiences could be returned by DSP we will match the override restriction based on the name of Custom Audience. Thus name would be a required field.

For more information about each field refer to CustomAudience.

Summary

Public constructors

PartialCustomAudience(
    name: String,
    activationTime: Instant?,
    expirationTime: Instant?,
    userBiddingSignals: AdSelectionSignals?
)

Public functions

open operator Boolean
equals(other: Any?)

Checks whether two PartialCustomAudience objects contain the same information.

open Int

Returns the hash of the PartialCustomAudience object's data.

open String

Public constructors

PartialCustomAudience

Added in 1.1.0-beta12
PartialCustomAudience(
    name: String,
    activationTime: Instant? = null,
    expirationTime: Instant? = null,
    userBiddingSignals: AdSelectionSignals? = null
)

Public functions

equals

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

Checks whether two PartialCustomAudience objects contain the same information.

hashCode

open fun hashCode(): Int

Returns the hash of the PartialCustomAudience object's data.

toString

open fun toString(): String

Public properties

activationTime

Added in 1.1.0-beta12
val activationTimeInstant?

expirationTime

Added in 1.1.0-beta12
val expirationTimeInstant?

name

Added in 1.1.0-beta12
val nameString

userBiddingSignals

Added in 1.1.0-beta12
val userBiddingSignalsAdSelectionSignals?