CompanionAd

data class CompanionAd(val width: Int? = 0, val height: Int? = 0, val resourceURI: String? = null, val altText: String? = null, val clickThroughURL: String? = null, val clickTrackingURL: String? = null, val apiFramework: String? = null)

Representation of VAST document's element.

Constructors

Link copied to clipboard
constructor(width: Int? = 0, height: Int? = 0, resourceURI: String? = null, altText: String? = null, clickThroughURL: String? = null, clickTrackingURL: String? = null, apiFramework: String? = null)

Properties

Link copied to clipboard
val altText: String? = null

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

Link copied to clipboard
val apiFramework: String? = null

The API necessary to communicate with the companion ad.

Link copied to clipboard
val clickThroughURL: String? = null

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 the companion ad click-through.

Link copied to clipboard
val height: Int? = 0

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

Link copied to clipboard
val resourceURI: String? = null

The URI to the static companion ad file.

Link copied to clipboard
val width: Int? = 0

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