List of time offsets from the beginning of the content at which ad breaks are
scheduled.
Methods
getCuePoints
getCuePoints(): number[]
List of time offsets from the beginning of the content at which ad breaks are
scheduled. Preroll and postroll ad break times have special values. Preroll ad break
offset value is represented by google.ima.AdCuePoints.PREROLL, postroll
break by google.ima.AdCuePoints.POSTROLL.
Returns
number[]
List of time offsets at which the ads are scheduled to play.
[[["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."],[[["\u003cp\u003eThis reference page follows the TypeScript documentation structure, with feedback encouraged via the IMA technical forum.\u003c/p\u003e\n"],["\u003cp\u003eThe cue point list outlines the schedule of ad breaks within the content timeline.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetCuePoints\u003c/code\u003e method provides a list of time offsets indicating when ad breaks are scheduled.\u003c/p\u003e\n"],["\u003cp\u003ePreroll and postroll ad breaks are denoted by special values: \u003ccode\u003egoogle.ima.AdCuePoints.PREROLL\u003c/code\u003e and \u003ccode\u003egoogle.ima.AdCuePoints.POSTROLL\u003c/code\u003e, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetCuePoints\u003c/code\u003e method returns a number array that contains the time offsets at which ads are scheduled to be played.\u003c/p\u003e\n"]]],[],null,["# Interface AdCuePoints\n\n| **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](https://groups.google.com/g/ima-sdk/).\n\n*** ** * ** ***\n\nThe cue point list represents a time-schedule of ad breaks. Note that individual ads in the ad break are not included in the schedule.\n\n| Methods ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|\n| [getCuePoints](/interactive-media-ads/docs/sdks/html5/client-side/reference/interface/google.ima.AdCuePoints#google.ima.AdCuePoints.getCuePoints) | List of time offsets from the beginning of the content at which ad breaks are scheduled. |\n\nMethods\n-------\n\n*** ** * ** ***\n\n### getCuePoints\n\ngetCuePoints(): number[] \nList of time offsets from the beginning of the content at which ad breaks are scheduled. Preroll and postroll ad break times have special values. Preroll ad break offset value is represented by `google.ima.AdCuePoints.PREROLL`, postroll break by `google.ima.AdCuePoints.POSTROLL`.\n\n| Returns ||\n|----------|--------------------------------------------------------------|\n| number[] | List of time offsets at which the ads are scheduled to play. |"]]