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 in the Google Cloud Video Stitcher v1 API allows configuration of prefetch ads.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Video.Stitcher.V1\u003c/code\u003e namespace and is available in the \u003ccode\u003eGoogle.Cloud.Video.Stitcher.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003ePrefetchConfig\u003c/code\u003e class is 3.3.0, and documentation for previous versions, starting from 1.0.0, is available.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the class include \u003ccode\u003eEnabled\u003c/code\u003e, which toggles ad prefetching, and \u003ccode\u003eInitialAdRequestDuration\u003c/code\u003e, which sets the duration of the break to prefetch, where a longer duration is recommended, though not longer than the shortest break expected.\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.\u003c/p\u003e\n"]]],[],null,[]]