Service
AdGroupAdService
MediaService
MutateJobService
Inheritance
Encapsulates a Video media identified by a MediaId.
- Namespace
-
https://adwords.google.com/api/adwords/cm/v201302
- Fields
Field | Type | Description |
---|---|---|
Media (inherited) | ||
mediaId Filterable
Required
Selectable
|
xsd:long
|
ID of this media object.
This field can be selected using the value "MediaId".
This field can be filtered on.
This field is required and should not be null when it is contained within Operators : SET, REMOVE.
|
type Filterable
ReadOnly
Selectable
|
Media.MediaType
|
Type of this media object. Required when using
upload()
to upload a new media file.
This field can be selected using the value "Type".
This field can be filtered on.
This field is read only and should not be set for following Operators : SET, REMOVE. If this field is sent to the API, it will be ignored.
Enumerations
|
referenceId Filterable
ReadOnly
Selectable
|
xsd:long
|
Media reference ID key. This field can be selected using the value "ReferenceId". This field can be filtered on. This field is read only and should not be set for following Operators : SET, REMOVE. If this field is sent to the API, it will be ignored. |
dimensions Selectable
|
Media_Size_DimensionsMapEntry[]
|
Various dimension sizes for the media. Only applies to image media (and video media for video thumbnails). This field can be selected using the value "Dimensions". |
urls ReadOnly
Selectable
|
Media_Size_StringMapEntry[]
|
URLs pointing to the resized media for the given sizes. Only applies to image media. This field can be selected using the value "Urls". This field is read only and should not be set. If this field is sent to the API, it will be ignored. |
mimeType Filterable
ReadOnly
Selectable
|
Media.MimeType
|
The mime type of the media.
This field can be selected using the value "MimeType".
This field can be filtered on.
This field is read only and should not be set for following Operators : SET, REMOVE. If this field is sent to the API, it will be ignored.
Enumerations
|
sourceUrl Filterable
ReadOnly
Selectable
|
xsd:string
|
The URL of where the original media was downloaded from (or a file name). This field can be selected using the value "SourceUrl". This field can be filtered on. This field is read only and should not be set for following Operators : SET, REMOVE. If this field is sent to the API, it will be ignored. |
name Filterable
Selectable
|
xsd:string
|
The name of the media. The name can be used by clients to help identify previously uploaded media. This field can be selected using the value "Name". This field can be filtered on. |
fileSize Filterable
ReadOnly
Selectable
|
xsd:long
|
The size of the media file in bytes. This field can be selected using the value "FileSize". This field can be filtered on. This field is read only and should not be set for following Operators : SET, REMOVE. If this field is sent to the API, it will be ignored. |
creationTime Filterable
ReadOnly
Selectable
|
xsd:string
|
Media creation date in the format YYYY-MM-DD HH:MM:SS+TZ. This is not updatable and not specifiable. This field can be selected using the value "CreationTime". This field can be filtered on. This field is read only and should not be set for following Operators : SET, REMOVE. If this field is sent to the API, it will be ignored. |
Media.Type |
xsd:string
|
Indicates that this instance is a subtype of Media. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead. |
Video | ||
durationMillis Filterable
Selectable
|
xsd:long
|
The duration of the associated video, in milliseconds. This field can be selected using the value "DurationMillis". This field can be filtered on. |
streamingUrl Selectable
|
xsd:string
|
Streaming URL for the video. This field can be selected using the value "StreamingUrl". |
readyToPlayOnTheWeb Selectable
|
xsd:boolean
|
Indicates whether the video is ready to play on the web. This field can be selected using the value "ReadyToPlayOnTheWeb". |
industryStandardCommercialIdentifier Filterable
Selectable
|
xsd:string
|
The Industry Standard Commercial Identifier code for this media, used mainly for television commercials. This field can be selected using the value "IndustryStandardCommercialIdentifier". This field can be filtered on. |
advertisingId Filterable
Selectable
|
xsd:string
|
The Advertising Digital Identification code for this media, as defined by the American Association of Advertising Agencies, used mainly for television commercials. This field can be selected using the value "AdvertisingId". This field can be filtered on. |
youTubeVideoIdString Filterable
Selectable
|
xsd:string
|
For YouTube-hosted videos, the YouTube video ID (as seen in YouTube URLs) may also be filled in. This field can be selected using the value "YouTubeVideoIdString". This field can be filtered on. |