[[["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-04 UTC."],[],[],null,["# Google Cloud Video Stitcher V1 Client - Class Companion (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-video-stitcher/latest/V1.Companion)\n- [1.0.3](/php/docs/reference/cloud-video-stitcher/1.0.3/V1.Companion)\n- [0.9.1](/php/docs/reference/cloud-video-stitcher/0.9.1/V1.Companion)\n- [0.8.4](/php/docs/reference/cloud-video-stitcher/0.8.4/V1.Companion)\n- [0.7.3](/php/docs/reference/cloud-video-stitcher/0.7.3/V1.Companion)\n- [0.6.2](/php/docs/reference/cloud-video-stitcher/0.6.2/V1.Companion)\n- [0.5.1](/php/docs/reference/cloud-video-stitcher/0.5.1/V1.Companion)\n- [0.3.4](/php/docs/reference/cloud-video-stitcher/0.3.4/V1.Companion) \nReference documentation and code samples for the Google Cloud Video Stitcher V1 Client class Companion.\n\nMetadata for a companion.\n\nGenerated from protobuf message `google.cloud.video.stitcher.v1.Companion`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Video \\\\ Stitcher \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getIframeAdResource\n\nThe IFrame ad resource associated with the companion ad.\n\n### hasIframeAdResource\n\n### setIframeAdResource\n\nThe IFrame ad resource associated with the companion ad.\n\n### getStaticAdResource\n\nThe static ad resource associated with the companion ad.\n\n### hasStaticAdResource\n\n### setStaticAdResource\n\nThe static ad resource associated with the companion ad.\n\n### getHtmlAdResource\n\nThe HTML ad resource associated with the companion ad.\n\n### hasHtmlAdResource\n\n### setHtmlAdResource\n\nThe HTML ad resource associated with the companion ad.\n\n### getApiFramework\n\nThe API necessary to communicate with the creative if available.\n\n### setApiFramework\n\nThe API necessary to communicate with the creative if available.\n\n### getHeightPx\n\nThe pixel height of the placement slot for the intended creative.\n\n### setHeightPx\n\nThe pixel height of the placement slot for the intended creative.\n\n### getWidthPx\n\nThe pixel width of the placement slot for the intended creative.\n\n### setWidthPx\n\nThe pixel width of the placement slot for the intended creative.\n\n### getAssetHeightPx\n\nThe pixel height of the creative.\n\n### setAssetHeightPx\n\nThe pixel height of the creative.\n\n### getExpandedHeightPx\n\nThe maximum pixel height of the creative in its expanded state.\n\n### setExpandedHeightPx\n\nThe maximum pixel height of the creative in its expanded state.\n\n### getAssetWidthPx\n\nThe pixel width of the creative.\n\n### setAssetWidthPx\n\nThe pixel width of the creative.\n\n### getExpandedWidthPx\n\nThe maximum pixel width of the creative in its expanded state.\n\n### setExpandedWidthPx\n\nThe maximum pixel width of the creative in its expanded state.\n\n### getAdSlotId\n\nThe ID used to identify the desired placement on a publisher's page.\n\nValues to be used should be discussed between publishers and\nadvertisers.\n\n### setAdSlotId\n\nThe ID used to identify the desired placement on a publisher's page.\n\nValues to be used should be discussed between publishers and\nadvertisers.\n\n### getEvents\n\nThe list of tracking events for the companion.\n\n### setEvents\n\nThe list of tracking events for the companion.\n\n### getAdResource"]]