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 VodInfo.

The VOD [Content](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content) resource
in the stream request that creates the DAI session.

Generated from protobuf message `google.ads.admanager.v1.DaiSession.CreationContext.VodInfo`

## Namespace

Google \\ Ads \\ AdManager \\ V1 \\ DaiSession \\ CreationContext

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ content` | `string` Output only. The [name](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content#_Google_Ads_AdManager_V1_Content__getName__) field of the VOD [Content](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content) resource. |
| `↳ cms_id` | `int|string` Output only. The identifier of the content source from which Google Ad Manager ingested the [Content](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content) resource associated with this session. For more information, see [Create a content source for video on demand](https://support.google.com/admanager/answer/7064112). |
| `↳ vid` | `string` Output only. The video ID of the [Content](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content) resource that this session is associated with. This value is the same as the [CmsContent.cms_content_id](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.CmsContent#_Google_Ads_AdManager_V1_CmsContent__getCmsContentId__) field. For details, see [Content ingestion and best practices](https://support.google.com/admanager/answer/6057894). |
| `↳ cue_points` | `int[]|string[]` Output only. The cue points detected in the ingested VOD content manifest. Stored in milliseconds starting from the beginning of the content. |
| `↳ content_duration` | `Google\Protobuf\Duration` Output only. The VOD [Content.duration](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content#_Google_Ads_AdManager_V1_Content__getDuration__) field. Represents the duration of the content without ads. |

### getContent

Output only. The [name](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content#_Google_Ads_AdManager_V1_Content__getName__) field of
the VOD [Content](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content)
resource.

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

### hasContent

### clearContent

### setContent

Output only. The [name](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content#_Google_Ads_AdManager_V1_Content__getName__) field of
the VOD [Content](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content)
resource.

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

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

### getCmsId

Output only. The identifier of the content source from which Google Ad
Manager ingested the [Content](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content)
resource associated with this session. For more information, see
[Create a content source for video on
demand](https://support.google.com/admanager/answer/7064112).

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

### hasCmsId

### clearCmsId

### setCmsId

Output only. The identifier of the content source from which Google Ad
Manager ingested the [Content](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content)
resource associated with this session. For more information, see
[Create a content source for video on
demand](https://support.google.com/admanager/answer/7064112).

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

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

### getVid

Output only. The video ID of the
[Content](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content) resource
that this session is associated with. This value is the same as the
[CmsContent.cms_content_id](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.CmsContent#_Google_Ads_AdManager_V1_CmsContent__getCmsContentId__)
field. For details, see [Content ingestion and best
practices](https://support.google.com/admanager/answer/6057894).

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

### hasVid

### clearVid

### setVid

Output only. The video ID of the
[Content](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content) resource
that this session is associated with. This value is the same as the
[CmsContent.cms_content_id](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.CmsContent#_Google_Ads_AdManager_V1_CmsContent__getCmsContentId__)
field. For details, see [Content ingestion and best
practices](https://support.google.com/admanager/answer/6057894).

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

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

### getCuePoints

Output only. The cue points detected in the ingested VOD content
manifest. Stored in milliseconds starting from the beginning of the
content.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<int>|Google\Protobuf\RepeatedField<string>` |   |

### setCuePoints

Output only. The cue points detected in the ingested VOD content
manifest. Stored in milliseconds starting from the beginning of the
content.

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

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

### getContentDuration

Output only. The VOD
[Content.duration](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content#_Google_Ads_AdManager_V1_Content__getDuration__)
field. Represents the duration of the content without ads.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Duration|null` |   |

### hasContentDuration

### clearContentDuration

### setContentDuration

Output only. The VOD
[Content.duration](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content#_Google_Ads_AdManager_V1_Content__getDuration__)
field. Represents the duration of the content without ads.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Duration` |

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