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\u003eThe \u003ccode\u003ePrefetchConfig\u003c/code\u003e class, part of the Google Cloud Video Stitcher v1 API, provides configuration options for prefetching ads, allowing for enhanced video streaming experiences.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.3.0 is the latest release of the \u003ccode\u003ePrefetchConfig\u003c/code\u003e class, however multiple other versions are available dating back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePrefetchConfig\u003c/code\u003e includes properties such as \u003ccode\u003eEnabled\u003c/code\u003e which specifies if ad prefetching is active, and \u003ccode\u003eInitialAdRequestDuration\u003c/code\u003e that sets the length of the ad break section that will be prefetched.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePrefetchConfig\u003c/code\u003e class 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 members from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]