[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eAdBreak\u003c/code\u003e class within the Google Cloud Video Transcoder v1 API, with the latest version being 2.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAdBreak\u003c/code\u003e class represents an ad break and is part of the \u003ccode\u003eGoogle.Cloud.Video.Transcoder.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAdBreak\u003c/code\u003e implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, with its inheritance coming from the base object class.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, \u003ccode\u003eAdBreak()\u003c/code\u003e and \u003ccode\u003eAdBreak(AdBreak other)\u003c/code\u003e, and includes a \u003ccode\u003eStartTimeOffset\u003c/code\u003e property, which is a \u003ccode\u003eDuration\u003c/code\u003e type that defines the ad break's start time relative to the output file's timeline.\u003c/p\u003e\n"],["\u003cp\u003eDocumentation is available for multiple versions of the \u003ccode\u003eAdBreak\u003c/code\u003e class, ranging from version 1.0.0 to the latest 2.9.0, with links to each version's specific documentation.\u003c/p\u003e\n"]]],[],null,["# Transcoder v1 API - Class AdBreak (2.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.AdBreak)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.9.0/Google.Cloud.Video.Transcoder.V1.AdBreak)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.8.0/Google.Cloud.Video.Transcoder.V1.AdBreak)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.7.0/Google.Cloud.Video.Transcoder.V1.AdBreak)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.6.0/Google.Cloud.Video.Transcoder.V1.AdBreak)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.5.0/Google.Cloud.Video.Transcoder.V1.AdBreak)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.4.0/Google.Cloud.Video.Transcoder.V1.AdBreak)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.3.0/Google.Cloud.Video.Transcoder.V1.AdBreak)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.2.0/Google.Cloud.Video.Transcoder.V1.AdBreak)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.1.0/Google.Cloud.Video.Transcoder.V1.AdBreak)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.0.0/Google.Cloud.Video.Transcoder.V1.AdBreak)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/1.0.0/Google.Cloud.Video.Transcoder.V1.AdBreak) \n\n public sealed class AdBreak : IMessage\u003cAdBreak\u003e, IEquatable\u003cAdBreak\u003e, IDeepCloneable\u003cAdBreak\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Transcoder v1 API class AdBreak.\n\nAd break. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AdBreak \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AdBreak](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.AdBreak), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AdBreak](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.AdBreak), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AdBreak](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.AdBreak), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Video.Transcoder.V1](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Video.Transcoder.V1.dll\n\nConstructors\n------------\n\n### AdBreak()\n\n public AdBreak()\n\n### AdBreak(AdBreak)\n\n public AdBreak(AdBreak other)\n\nProperties\n----------\n\n### StartTimeOffset\n\n public Duration StartTimeOffset { get; set; }\n\nStart time in seconds for the ad break, relative to the output file\ntimeline. The default is `0s`."]]