LinearAd

interface LinearAd : Ad

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

Properties

Link copied to clipboard
abstract val duration: Double

The duration of the ad.

Link copied to clipboard
abstract val skippableAfter: Double?

Time in seconds, after which the ad is skippable. The ad is not skippable if this property is not set.

Link copied to clipboard
abstract val uiConfig: LinearAdUiConfig?

Holds relevant information for displaying the ad.