AdData

The ad data object where essential information regarding an ad is stored.

Types

Link copied to clipboard
@Serializable
class AdVerification
Link copied to clipboard
@Serializable
class CompanionAd
Link copied to clipboard
@Serializable
class Extension
Link copied to clipboard
@Serializable
class Icon
Link copied to clipboard
@Serializable
class TrackingEvent

Properties

Link copied to clipboard
val adId: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The total number of ads within the corresponding ad avail.

Link copied to clipboard

The 0-based index of the ad within the corresponding ad avail.

Link copied to clipboard

The total duration (in seconds) of the corresponding ad avail, or null if unknown.

Link copied to clipboard

The total duration (in seconds), as marked by the ad markers, of the corresponding ad avail, or null if unknown.

Link copied to clipboard

The time position (in seconds relative to the beginning of the playback session) of the corresponding ad avail, or null if unknown.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The ad's start time offset (in seconds) relative to the beginning of the corresponding ad avail, or null if unknown.

Link copied to clipboard

The number of times the ad was at least partially played.

Link copied to clipboard

The array of time offsets (relative to the beginning of the ad, in seconds) of the quartile tracking events (0: FIRST_QUARTILE, 1: MID_POINT, 2: THIRD_QUARTILE, 3: COMPLETE).

Link copied to clipboard

The number of seconds of playback before ad-skip is allowed , or -1 if non-skippable.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The URL to the advertiser's site that's opened when a viewer clicks the ad.