Optional
appApplication specific SpotX data.
Superseded by queryParameters.app.
Optional
cacheWhether the ad break request should contain a cache buster.
- A cache buster adds a query parameter 'cb' with a random value to circumvent browser caching mechanisms.
Optional
contentThe URL of the content page.
Optional
customCustom SpotX data.
Superseded by queryParameters.custom.
Optional
deviceDevice specific SpotX data.
Superseded by queryParameters.device.
The identifier of the ad break requested from SpotX.
Optional
integrationThe integration of the ad break.
'theo'
Optional
ipThe IP address of the viewer.
Optional
maximumThe maximum duration of the ad, in seconds.
No maximum duration.
Optional
queryA record of query string parameters added to the SpotX ad break request. Each entry contains the parameter name with associated value.
- Available since v2.38.0.
Optional
replaceWhether the ad replaces playback of the content.
- When the ad ends, the content will resume at the ad break's offset plus its duration.
- true
for live content,
- false
for VOD content
Optional
sourcesA source URL which contains the location of ad resources to be scheduled.
- This will override the generated URL.
Optional
timeOffset after which the ad break will start.
Possible formats:
- A number for the offset in seconds.
- 'start'
for a preroll.
- 'end'
for a postroll.
- 'HH:MM:SS.mmm'
for a timestamp in the playback window.
- A percentage string (XX%) for a proportion of the content duration.
- A timestamp which is not in the playback window will result in the ad break not being started.
- VMAP resources will ignore this value as they contain an internal offset.
- Since 2.18, numbers are supported for the Google IMA integration, since 2.21 other formats as well.
'start'
Optional
userUser specific SpotX data.
Superseded by queryParameters.user.
Generated using TypeDoc
Describes a SpotX ad break request.
Remarks
- Available since v2.13.0.
Example