Experimental
Optional
adThe source ad server information included in the ad response.
- Available when the Ad.readyState is 'ready'
.
Optional
clickThe website of the advertisement.
- Available when the Ad.readyState is 'ready'
.
Optional
companionsList of companions which can be displayed outside the player.
- Available when the Ad.readyState is 'ready'
.
- Only supported for 'theo'
and 'google-dai'
.
Optional
creativeThe identifier of the selected creative for the ad.
- Available when the Ad.readyState is 'ready'
.
Optional
durationThe duration of the ad, in seconds.
- Available when the Ad.readyState is 'ready'
.
- Only available for LinearAd.
Optional
heightThe height of the ad.
- Available when the Ad.readyState is 'ready'
.
Optional
idThe identifier of the creative.
- Available when the Ad.readyState is 'ready'
.
Optional
readyThe ready state of the ad.
Optional
resourceURIThe URI of the ad content.
- Available when the Ad.readyState is 'ready'
.
Optional
skipOffset after which the ad break may be skipped, in seconds.
- Available when the Ad.readyState is 'ready'
.
- If the offset is -1, the ad is unskippable.
- If the offset is 0, the ad is immediately skippable.
- Otherwise it must be a positive number indicating the offset.
Optional
timeThe time offset at which content will be paused to play the ad, in seconds.
The type of the ad.
Optional
universalThe list of universal ad ID information of the selected creative for the ad.
- Only supported for 'theo'
and 'google-ima'
.
Optional
widthThe width of the ad, in pixels.
- Available when the Ad.readyState is 'ready'
.
An initializer for a custom Ad.
See