public Duration InitialAdRequestDuration { get; set; }
The duration in seconds of the part of the break to be prefetched.
This field is only relevant if prefetch is enabled.
You should set this duration to as long as possible to increase the
benefits of prefetching, but not longer than the shortest ad break
expected. For example, for a live event with 30s and 60s ad breaks, the
initial duration should be set to 30s.
[[["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-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003ePrefetchConfig\u003c/code\u003e class within the Google Cloud Video Stitcher v1 API, detailing its purpose in prefetching ads.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePrefetchConfig\u003c/code\u003e class is available across multiple versions, from 1.0.0 to the latest version 3.3.0, with the current documentation based on version 3.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePrefetchConfig\u003c/code\u003e implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: a parameterless constructor and one that accepts another \u003ccode\u003ePrefetchConfig\u003c/code\u003e object for cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe key properties of \u003ccode\u003ePrefetchConfig\u003c/code\u003e are \u003ccode\u003eEnabled\u003c/code\u003e, which determines if ad prefetching is active, and \u003ccode\u003eInitialAdRequestDuration\u003c/code\u003e, which defines the length of the break to be prefetched in seconds.\u003c/p\u003e\n"]]],[],null,[]]