Service
AdGroupAdService
MediaService
MutateJobService
Dependencies
Inheritance
Encapsulates an Image media. For SET
,REMOVE
operations in
MediaService, use mediaId
.
- Namespace
-
https://adwords.google.com/api/adwords/cm/v201502
- Fields
Field | Type | Description |
---|---|---|
Media (inherited) | ||
mediaId Required
Selectable
|
xsd:long
|
ID of this media object.
This field can be selected using the value "MediaId".
This field is required and should not be null when it is contained within Operators : SET, REMOVE.
|
type 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 is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET.
Enumerations
|
referenceId ReadOnly
Selectable
|
xsd:long
|
Media reference ID key. This field can be selected using the value "ReferenceId". This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET. |
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 will be ignored when sent to the API. |
mimeType ReadOnly
Selectable
|
Media.MimeType
|
The mime type of the media.
This field can be selected using the value "MimeType".
This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET.
Enumerations
|
sourceUrl 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 is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET. |
name 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". |
fileSize ReadOnly
Selectable
|
xsd:long
|
The size of the media file in bytes. This field can be selected using the value "FileSize". This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET. |
creationTime 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 is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET. |
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. |
Image | ||
data |
xsd:base64Binary
|
Raw image data. |