Version: 2.69.0

CompanionAd

THEOplayer > CompanionAd

CompanionAd interface

Represents a companion ad which is displayed near the video player.

Signature:
export interface CompanionAd

Properties

PropertyTypeDescription
adSlotIdstringThe identifier of the element in which the companion ad should be appended, if available.
altTextstringThe alternative description for the ad.
clickThroughstringThe website of the advertisement.
contentHTMLstringThe content of the ad, as HTML.
heightnumberThe height of the ad, in pixels.
resourceURIstringThe URI of the ad content.
widthnumberThe width of the ad, in pixels.