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/v201506
- Fields
Field | Type | Description |
---|---|---|
Media (inherited) | ||
mediaId Required
|
xsd:long
|
ID of this media object.
This field is required and should not be null when it is contained within Operators : SET, REMOVE.
|
type ReadOnly
|
Media.MediaType
|
Type of this media object. Required when using
upload()
to upload a new media file.
This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET.
Enumerations
|
referenceId ReadOnly
|
xsd:long
|
Media reference ID key. This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET. |
dimensions |
Media_Size_DimensionsMapEntry[]
|
Various dimension sizes for the media. Only applies to image media (and video media for video thumbnails). |
urls ReadOnly
|
Media_Size_StringMapEntry[]
|
URLs pointing to the resized media for the given sizes. Only applies to image media. This field is read only and will be ignored when sent to the API. |
mimeType ReadOnly
|
Media.MimeType
|
The mime type of the media.
This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET.
Enumerations
|
sourceUrl ReadOnly
|
xsd:string
|
The URL of where the original media was downloaded from (or a file name). This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET. |
name |
xsd:string
|
The name of the media. The name can be used by clients to help identify previously uploaded media. |
fileSize ReadOnly
|
xsd:long
|
The size of the media file in bytes. This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET. |
creationTime ReadOnly
|
xsd:string
|
Media creation date in the format YYYY-MM-DD HH:MM:SS+TZ. This is not updatable and not specifiable. 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. |