Resource: VideoContent
The metadata for the content to be ingested.
JSON representation |
---|
{ "status": enum ( |
Fields | |
---|---|
status |
The status of the content. If this is omitted the default value will be active. |
title |
Required. The title of the content. |
updateTime |
Required. The last modified time of the content. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
publishTime |
The publish time of the content. This is a required field, if the video is designed to be included in Ad Rules that specifies start and end time using number of days before and after the publish time of content. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
duration |
Duration of the content. Duration is supported down to the millisecond level. A duration in seconds with up to nine fractional digits, terminated by ' |
cuePoints[] |
Identifies the cue points. Cue points are places in time where an ad can be inserted in the video. Cue points are supported down to the millisecond level. This is a required field, if the video contains mid-roll ad breaks. A duration in seconds with up to nine fractional digits, terminated by ' |
thumbnailUrl |
Thumbnail url of the content. |
description |
Description of the content. |
metadata |
Identifies the custom metadata of the content. |
tmsMetadata |
The TMS info of the content. |
VideoContentStatus
Status options to serve or not to serve targeted ads for a content.
Enums | |
---|---|
ACTIVE |
Active. |
BLOCKED |
No ads will be served against this content if the status is BLOCKED. |
DELETED |
The content will be archived in Ad Manager. If Ad Manager receives an ad request for a content marked as DELETED, then house ads, or ads targeted to inventory units or other targeting criteria can still serve against it. To block ads, set the status to BLOCKED. |
Metadata
Custom metadata of the content.
JSON representation |
---|
{ "keyValues": { string: value, ... } } |
Fields | |
---|---|
keyValues |
Identifies the custom metadata of the content as a key-value pair.
|
TmsMetadata
The TMS (Gracenote) metadata for the content.
JSON representation |
---|
{ "tmsId": string, "seriesTmsId": string } |
Fields | |
---|---|
tmsId |
Refers to the TMS ID for the content. Required. Should have one of these valid prefixes: 1. 'EP' - episode of a series 2. 'MV' - movie 3. 'SP' - sporting event |
seriesTmsId |
If the content is an episode of a series, this field refers to the series TMS ID. Should be prefixed with 'SH'. Optional. |
Methods |
|
---|---|
(deprecated) |
API to create new content or update its metadata if the content already exists in Ad Manager. |