[[["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 GamSettings (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-video-stitcher/latest/V1.LiveSession.GamSettings)\n- [1.0.3](/php/docs/reference/cloud-video-stitcher/1.0.3/V1.LiveSession.GamSettings)\n- [0.9.1](/php/docs/reference/cloud-video-stitcher/0.9.1/V1.LiveSession.GamSettings)\n- [0.8.4](/php/docs/reference/cloud-video-stitcher/0.8.4/V1.LiveSession.GamSettings)\n- [0.7.3](/php/docs/reference/cloud-video-stitcher/0.7.3/V1.LiveSession.GamSettings)\n- [0.6.2](/php/docs/reference/cloud-video-stitcher/0.6.2/V1.LiveSession.GamSettings)\n- [0.5.1](/php/docs/reference/cloud-video-stitcher/0.5.1/V1.LiveSession.GamSettings)\n- [0.3.4](/php/docs/reference/cloud-video-stitcher/0.3.4/V1.LiveSession.GamSettings) \nReference documentation and code samples for the Google Cloud Video Stitcher V1 Client class GamSettings.\n\nDefines fields related to Google Ad Manager (GAM).\n\nGenerated from protobuf message `google.cloud.video.stitcher.v1.LiveSession.GamSettings`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Video \\\\ Stitcher \\\\ V1 \\\\ LiveSession\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getStreamId\n\nRequired. The stream ID generated by Ad Manager. This must be set if GAM\nis being used for ads and the session uses client-side ad tracking.\n\n### setStreamId\n\nRequired. The stream ID generated by Ad Manager. This must be set if GAM\nis being used for ads and the session uses client-side ad tracking.\n\n### getTargetingParameters\n\n[Targeting\nparameters](https://support.google.com/admanager/answer/7320899) to send\nto Ad Manager to generate a stream ID. This should only be set if the\nsession uses server-side ad tracking.\n\n### setTargetingParameters\n\n[Targeting\nparameters](https://support.google.com/admanager/answer/7320899) to send\nto Ad Manager to generate a stream ID. This should only be set if the\nsession uses server-side ad tracking."]]