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.
Optional
Readonly
theoadsThe THEOads API.
- Only available with the feature 'theoads'
.
Add the given listener for the given event type(s).
The type of the event.
The callback which is executed when the event occurs.
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.
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
'csai'
,'google-ima'
,'google-dai'
,'freewheel'
or'theoads'
.