Reference documentation and code samples for the Google Ads Ad Manager V1 Client class VodInfo.
The VOD 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 \ CreationContextMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ content |
string
|
↳ cms_id |
int|string
Output only. The identifier of the content source from which Google Ad Manager ingested the Content resource associated with this session. For more information, see Create a content source for video on demand. |
↳ vid |
string
Output only. The video ID of the Content resource that this session is associated with. This value is the same as the CmsContent.cms_content_id field. For details, see Content ingestion and best practices. |
↳ 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 field. Represents the duration of the content without ads. |
getContent
| Returns | |
|---|---|
| Type | Description |
string |
|
hasContent
clearContent
setContent
| 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 resource associated with this session. For more information, see Create a content source for video on demand.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasCmsId
clearCmsId
setCmsId
Output only. The identifier of the content source from which Google Ad Manager ingested the Content resource associated with this session. For more information, see Create a content source for video on demand.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVid
Output only. The video ID of the Content resource that this session is associated with. This value is the same as the CmsContent.cms_content_id field. For details, see Content ingestion and best practices.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasVid
clearVid
setVid
Output only. The video ID of the Content resource that this session is associated with. This value is the same as the CmsContent.cms_content_id field. For details, see Content ingestion and best practices.
| 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 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 field. Represents the duration of the content without ads.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|