3.4.0 (latest) 3.3.0 3.2.0 3.1.0 3.0.0 2.0.0 1.1.0 1.0.0

    public sealed class LiveSession.Types.GamSettings : IMessage<LiveSession.Types.GamSettings>, IEquatable<LiveSession.Types.GamSettings>, IDeepCloneable<LiveSession.Types.GamSettings>, IBufferMessage, IMessage

Reference documentation and code samples for the Video Stitcher v1 API class LiveSession.Types.GamSettings.

Defines fields related to Google Ad Manager (GAM).

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> LiveSession.Types.GamSettings

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[LiveSession](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.LiveSession.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.LiveSession.Types.md.txt)[GamSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.LiveSession.Types.GamSettings.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LiveSession](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.LiveSession.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.LiveSession.Types.md.txt)[GamSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.LiveSession.Types.GamSettings.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[LiveSession](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.LiveSession.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.LiveSession.Types.md.txt)[GamSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.LiveSession.Types.GamSettings.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Video.Stitcher.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.md.txt)

## Assembly

Google.Cloud.Video.Stitcher.V1.dll

## Constructors

### GamSettings()

    public GamSettings()

### GamSettings(GamSettings)

    public GamSettings(LiveSession.Types.GamSettings other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `LiveSessionTypesGamSettings` |

## Properties

### StreamId

    public string StreamId { get; set; }

Required. The stream ID generated by Ad Manager. This must be set if GAM
is being used for ads and the session uses client-side ad tracking.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### TargetingParameters

    public MapField<string, string> TargetingParameters { get; }

[Targeting
parameters](https://support.google.com/admanager/answer/7320899) to send
to Ad Manager to generate a stream ID. This should only be set if the
session uses server-side ad tracking.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MapFieldstringstring` |   |