Readonly
currentThe currently playing ad break.
Readonly
currentList of currently playing ads.
Optional
Readonly
daiThe Google DAI API.
- Only available with the feature 'google-dai'
.
Whether a linear ad is currently playing.
Readonly
scheduledList of ad breaks which still need to be played.
Readonly
scheduledList of ads which still need to be played.
Add the given listener for the given event type(s).
The type of the event.
The callback which is executed when the event occurs.
Experimental
Register a custom advertisement integration.
This allows you to integrate with third-party advertisement providers, and have them report their ads and ad-related events through the THEOplayer Ads API.
An identifier of the integration.
Factory that will construct an ServerSideAdIntegrationHandler for this integration.
This API is experimental and is subject to change in any minor version of THEOplayer. Please consult with THEO Technologies before using this API.
Remove the given listener for the given event type(s).
The type of the event.
The callback which will be removed.
Add an ad break request.
Describes the ad break to be scheduled.
- Available since v2.18.0.
- Prefer scheduling ad breaks up front through SourceConfiguration.ads.
The API for advertisements.
Remarks
- Integrates with
'theo'
,'google-ima'
,'google-dai'
,'freewheel'
or'sgai'
.