0.16.0 (latest) 0.15.1 0.14.1 0.8.0 0.7.0 0.6.2 0.5.0 0.4.1 0.3.1 0.2.0 0.1.3 Reference documentation and code samples for the Google Ads Ad Manager V1 Client class VideoSettings.

Information about the video settings of an encoding profile.

Generated from protobuf message `google.ads.admanager.v1.VideoSettings`

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ codec` | `string` Required. The RFC6381 codec string of the video. |
| `↳ bitrate` | `int|string` Required. The bitrate of the video, in bits per second. This value must be between 32kbps and 250 Mbps. |
| `↳ frames_per_second` | `float` Required. The frames per second of the video. This value will be truncated to three decimal places. |
| `↳ resolution` | `https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Size` Required. The resolution of the video, in pixels. |

### getCodec

Required. The RFC6381 codec string of the video.

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

### hasCodec

### clearCodec

### setCodec

Required. The RFC6381 codec string of the video.

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

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

### getBitrate

Required. The bitrate of the video, in bits per second. This value must be
between 32kbps and 250 Mbps.

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

### hasBitrate

### clearBitrate

### setBitrate

Required. The bitrate of the video, in bits per second. This value must be
between 32kbps and 250 Mbps.

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

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

### getFramesPerSecond

Required. The frames per second of the video. This value will be truncated
to three decimal places.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### hasFramesPerSecond

### clearFramesPerSecond

### setFramesPerSecond

Required. The frames per second of the video. This value will be truncated
to three decimal places.

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

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

### getResolution

Required. The resolution of the video, in pixels.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Size|null` |   |

### hasResolution

### clearResolution

### setResolution

Required. The resolution of the video, in pixels.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Size` |

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