VASTCompanion

data class VASTCompanion(val companionWidth: Int, val companionHeight: Int, val companionResourceURI: String? = null, val companionAltText: String? = null, val companionClickThroughURL: String? = null, val companionClickTrackingURL: String? = null, val companionTrackingEvents: List<VASTTrackingEvent>? = null)

Representation of VAST document's element.

Constructors

Link copied to clipboard
constructor(companionWidth: Int, companionHeight: Int, companionResourceURI: String? = null, companionAltText: String? = null, companionClickThroughURL: String? = null, companionClickTrackingURL: String? = null, companionTrackingEvents: List<VASTTrackingEvent>? = null)

Properties

Link copied to clipboard

The text that provides a description of the companion creative when an ad viewer "mouses" over the ad.

Link copied to clipboard

The URL to the advertiser’s page that the video player opens when the viewer clicks the companion ad.

Link copied to clipboard

The URL to a tracking resource file used to track a companion click-through

Link copied to clipboard

The pixel height of the placement slot for which the creative is intended.

Link copied to clipboard

The URI to the iframe creative file or static creative file or html creative file.

Link copied to clipboard

The collection of VASTTrackingEvents if available.

Link copied to clipboard

The pixel width of the placement slot for which the creative is intended.

Functions