LinearAd

interface LinearAd : Ad

Defines a linear ad which requires the playback of the content to stop

Properties

duration
Link copied to clipboard
abstract val duration: Double
The duration of the ad.
skippableAfter
Link copied to clipboard
abstract val skippableAfter: Double?
Time in seconds, after which the ad is skippable.

Inherited properties

clickThroughUrl
Link copied to clipboard
abstract val clickThroughUrl: String?
The url the user should be redirected to when clicking the ad.
data
Link copied to clipboard
abstract val data: AdData?
Holds various additional AdData.
height
Link copied to clipboard
abstract val height: Int
The height of the ad.
id
Link copied to clipboard
abstract val id: String?
Identifier for the ad.
isLinear
Link copied to clipboard
abstract val isLinear: Boolean
Determines whether an ad is linear, i.e.
mediaFileUrl
Link copied to clipboard
abstract val mediaFileUrl: String?
The corresponding media file url for the ad.
width
Link copied to clipboard
abstract val width: Int
The width of the ad.