Returns the currently active ad, or null if no ad is active.
the active Ad, or null if none is active
Returns the currently active ad break, or null if no ad break is active.
the active AdBreak, or null if none is active
Returns all scheduled ad breaks. Does not include currently active ad breaks.
Array containing all the scheduled ad breaks.
Skips the current ad. Has no effect if the ad is not skippable, if no ad is active or if the IMA module is used (disabled by IMA in version 3.607.0).
Promise that resolves when the ad has been skipped and the ad player is done with cleanup of events and states.
Discards all scheduled ad breaks with the given ID. Also stops the current ad break if it has the same ID.