[[["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 reference documentation for the \u003ccode\u003eCompanionAds\u003c/code\u003e class within the Google Cloud Video Stitcher v1 API, detailing its structure and usage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompanionAds\u003c/code\u003e class is used to manage metadata related to companion ads, which are supplemental ads displayed alongside the main video content.\u003c/p\u003e\n"],["\u003cp\u003eThe 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 from the \u003ccode\u003eobject\u003c/code\u003e class, providing methods for manipulation and comparison.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompanionAds\u003c/code\u003e class features properties like \u003ccode\u003eCompanions\u003c/code\u003e, a list of companion ads, and \u003ccode\u003eDisplayRequirement\u003c/code\u003e, which defines how many companion ads should be shown.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation is versioned, with version 3.3.0 being the latest release, and also includes links to older versions ranging from 3.2.0 to 1.0.0.\u003c/p\u003e\n"]]],[],null,["# Video Stitcher v1 API - Class CompanionAds (3.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.3.0 (latest)](/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.CompanionAds)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/3.2.0/Google.Cloud.Video.Stitcher.V1.CompanionAds)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/3.1.0/Google.Cloud.Video.Stitcher.V1.CompanionAds)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/3.0.0/Google.Cloud.Video.Stitcher.V1.CompanionAds)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/2.0.0/Google.Cloud.Video.Stitcher.V1.CompanionAds)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/1.1.0/Google.Cloud.Video.Stitcher.V1.CompanionAds)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/1.0.0/Google.Cloud.Video.Stitcher.V1.CompanionAds) \n\n public sealed class CompanionAds : IMessage\u003cCompanionAds\u003e, IEquatable\u003cCompanionAds\u003e, IDeepCloneable\u003cCompanionAds\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Video Stitcher v1 API class CompanionAds.\n\nMetadata for companion ads. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CompanionAds \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CompanionAds](/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.CompanionAds), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CompanionAds](/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.CompanionAds), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CompanionAds](/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.CompanionAds), [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.Stitcher.V1](/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Video.Stitcher.V1.dll\n\nConstructors\n------------\n\n### CompanionAds()\n\n public CompanionAds()\n\n### CompanionAds(CompanionAds)\n\n public CompanionAds(CompanionAds other)\n\nProperties\n----------\n\n### Companions\n\n public RepeatedField\u003cCompanion\u003e Companions { get; }\n\nList of companion ads.\n\n### DisplayRequirement\n\n public CompanionAds.Types.DisplayRequirement DisplayRequirement { get; set; }\n\nIndicates how many of the companions should be displayed with the ad."]]