AdData
class AdData
Represents data specific to an ad that is necessary for ad selection and rendering.
Summary
Public constructors |
|---|
|
Represents data specific to an ad that is necessary for ad selection and rendering. |
@ExperimentalFeatures.Ext8OptInRepresents data specific to an ad that is necessary for ad selection and rendering. |
Public functions |
|
|---|---|
open operator Boolean |
Checks whether two |
open Int |
hashCode()Returns the hash of the |
open String |
toString()Overrides the toString method. |
Public properties |
|
|---|---|
Set<Int> |
the set of keys used in counting events |
AdFilters? |
all |
String? |
ad render id for server auctions |
String |
buyer ad metadata represented as a JSON string |
Uri |
a URI pointing to the ad's rendering assets |
Public constructors
AdData
AdData(renderUri: Uri, metadata: String)
Represents data specific to an ad that is necessary for ad selection and rendering.
AdData
@ExperimentalFeatures.Ext8OptIn
AdData(
renderUri: Uri,
metadata: String,
adCounterKeys: Set<Int> = setOf(),
adFilters: AdFilters? = null
)
Represents data specific to an ad that is necessary for ad selection and rendering.
AdData
@ExperimentalFeatures.Ext10OptIn
AdData(
renderUri: Uri,
metadata: String,
adCounterKeys: Set<Int> = setOf(),
adFilters: AdFilters? = null,
adRenderId: String? = null
)
| Parameters | |
|---|---|
renderUri: Uri |
a URI pointing to the ad's rendering assets |
metadata: String |
buyer ad metadata represented as a JSON string |
adCounterKeys: Set<Int> = setOf() |
the set of keys used in counting events |
adFilters: AdFilters? = null |
all |
adRenderId: String? = null |
ad render id for server auctions |
Public functions
Public properties
adCounterKeys
val adCounterKeys: Set<Int>
the set of keys used in counting events
adFilters
val adFilters: AdFilters?
all AdFilters associated with the ad, it's optional and can be null as well