# Google Cloud Video Stitcher V1 Client - Class GamSettings (1.2.0)

1.2.0 (latest) 1.1.2 1.0.4 0.9.1 0.8.4 0.7.3 0.6.2 0.5.1 0.3.4 Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class GamSettings.

Defines fields related to Google Ad Manager (GAM). This should be set if
GAM is being used for ads.

Generated from protobuf message `google.cloud.video.stitcher.v1.VodSession.GamSettings`

## Namespace

Google \\ Cloud \\ Video \\ Stitcher \\ V1 \\ VodSession

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ network_code` | `string` Required. Ad Manager network code. |
| `↳ stream_id` | `string` Required. The stream ID generated by Ad Manager. |

### getNetworkCode

Required. Ad Manager network code.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setNetworkCode

Required. Ad Manager network code.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getStreamId

Required. The stream ID generated by Ad Manager.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setStreamId

Required. The stream ID generated by Ad Manager.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |