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.
- Only available in the 'theo' ad integration.
Superseded by Ads.scheduledAdBreaks.
Add the given listener for the given event type(s).
The type of the event.
The callback which is executed when the event occurs.
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.
Generated using TypeDoc
The API for advertisements.
Remarks
- Integrates with
'theo','google-ima','google-dai'or'freewheel'.