Optional
adThe identifier of the element in which the companion ad should be appended, if available.
Only available for Google DAI and THEO ads if provided in the VAST.
The alternative description for the ad.
- Returns value as reported in the VAST StaticResource. If not specified, it returns an empty string.
- Returns an empty string for THEO ads if not available.
- Returns an empty string for Google IMA / Google DAI integrations.
Optional
clickThe website of the advertisement.
- Only available for StaticResource if specified by the VAST. Otherwise returns an empty string.
The content of the ad, as HTML.
- Available for StaticResource and HTMLResource in THEO ad system.
- Available in the DAI ad system.
The height of the ad, in pixels.
- Only available for IMA ad system and THEO ad system.
The URI of the ad content as specified in the VAST file.
- Only available in the THEO ad system for StaticResource. Otherwise returns an empty string.
The width of the ad, in pixels.
- Only available for IMA ad system and THEO ad system.
Generated using TypeDoc
Represents a companion ad which is displayed near the video player.