Send feedback
Interface AdProgressData
Stay organized with collections
Save and categorize content based on your preferences.
Note: This reference page follows TypeScript documentation structure. If you have
suggestions for or see issues with the reference documentation, open a thread with your
feedback on the IMA technical forum .
This object exposes information about the current progress as an ad is playing.
Properties
ad Break Duration
The maximum duration of the current ad break.
ad Position
The position in the ad break of the current ad.
current Time
The current time of the currently playing ad.
duration
The duration of the currently playing ad.
total Ads
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-17 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-17 UTC."],[],[]]