Interface AdProgressData

  • This reference page documents the AdProgressData object, which provides information about an ad's playback progress.

  • The adBreakDuration property indicates the maximum duration of the current ad break.

  • The adPosition property specifies the current ad's position within the ad break.

  • currentTime reflects the current playback time of the ad that is currently playing.

  • totalAds provides the total number of ads that are present within the current ad break.


This object exposes information about the current progress as an ad is playing.
Properties
adBreakDuration
The maximum duration of the current ad break.
adPosition
The position in the ad break of the current ad.
currentTime
The current time of the currently playing ad.
duration
The duration of the currently playing ad.
totalAds
The total number of ads in the current ad break.

Properties


adBreakDuration

adBreakDuration: number
The maximum duration of the current ad break.

adPosition

adPosition: number
The position in the ad break of the current ad.

currentTime

currentTime: number
The current time of the currently playing ad.

duration

duration: number
The duration of the currently playing ad.

totalAds

totalAds: number
The total number of ads in the current ad break.