Use this service to manage media.
- Production WSDL
-
https://adwords.google.com/api/adwords/cm/v201809/MediaService?wsdl
- Namespace
-
https://adwords.google.com/api/adwords/cm/v201809
- Operations
- Errors
-
- AudioError
- AuthenticationError
- AuthorizationError
- ClientTermsError
- DatabaseError
- DistinctError
- EntityNotFound
- IdError
- ImageError
- InternalApiError
- MediaBundleError
- MediaError
- NewEntityCreationError
- NotEmptyError
- NullError
- OperationAccessDenied
- OperatorError
- QueryError
- QuotaCheckError
- RangeError
- RateExceededError
- ReadOnlyError
- RejectedError
- RequestError
- RequiredError
- SelectorError
- SizeLimitError
- StringFormatError
- StringLengthError
- VideoError
get
Returns a list of media that meet the criteria specified by the selector.
Note:
MediaService
will not return any
ImageAd image files.
Parameters
Field | Type | Description |
---|---|---|
serviceSelector
|
|
Selects which media objects to return. |
Response
Field | Type | Description |
---|---|---|
rval
|
|
A list of Media objects. |
query
Returns the list of Media objects that match the query.
Parameters
Field | Type | Description |
---|---|---|
query
|
|
The SQL-like AWQL query string |
Response
Field | Type | Description |
---|---|---|
rval
|
|
upload
Uploads new media. Currently, you can upload Image files and MediaBundles.
Parameters
Field | Type | Description |
---|---|---|
media
|
|
A list of Media objects, each containing the data to
be uploaded. |
Response
Field | Type | Description |
---|---|---|
rval
|
|
A list of uploaded media in the same order as the argument list. |
Errors
Error | Reasons |
---|---|
AudioError
|
Error class for errors associated with parsing audio data.
Enumerations
|
AuthenticationError
|
Errors returned when Authentication failed.
Enumerations
|
AuthorizationError
|
Errors encountered when trying to authorize a user.
Enumerations
|
ClientTermsError
|
Error due to user not accepting the AdWords terms of service.
Enumerations
|
DatabaseError
|
Errors that are thrown due to a database access problem.
Enumerations
|
DistinctError
|
Errors related to distinct ids or content.
Enumerations
|
EntityNotFound
|
An id did not correspond to an entity, or it referred to an entity which does not belong to the
customer.
Enumerations
|
IdError
|
Errors associated with the ids.
Enumerations
|
ImageError
|
Error class for errors associated with parsing image data.
Enumerations
|
InternalApiError
|
Indicates that a server-side error has occured. InternalApiError s
are generally not the result of an invalid request or message sent by the
client.
Enumerations
|
MediaBundleError
|
Error class for errors associated with parsing media bundle data.
Enumerations
|
MediaError
|
Error class for media related errors.
Enumerations
|
NewEntityCreationError
|
Error associated with creation of new entities.
Enumerations
|
NotEmptyError
|
Errors corresponding with violation of a NOT EMPTY check.
Enumerations
|
NullError
|
Errors associated with violation of a NOT NULL check.
Enumerations
|
OperationAccessDenied
|
Operation not permitted due to the invoked service's access policy.
Enumerations
|
OperatorError
|
Errors due to the use of unsupported operations.
Enumerations
|
QueryError
|
A QueryError represents possible errors for query parsing and execution.
Enumerations
|
QuotaCheckError
|
Encapsulates the errors thrown during developer quota checks.
Enumerations
|
RangeError
|
A list of all errors associated with the Range constraint.
Enumerations
|
RateExceededError
|
Signals that a call failed because a measured rate exceeded.
Enumerations
|
ReadOnlyError
|
Errors from attempting to write to read-only fields.
Enumerations
|
RejectedError
|
Indicates that a field was rejected due to compatibility issues.
Enumerations
|
RequestError
|
Encapsulates the generic errors thrown when there's an error with user
request.
Enumerations
|
RequiredError
|
Errors due to missing required field.
Enumerations
|
SelectorError
|
Represents possible error codes for Selector.
Enumerations
|
SizeLimitError
|
Indicates that the number of entries in the request or response exceeds the system limit.
Enumerations
|
StringFormatError
|
A list of error code for reporting invalid content of input strings.
Enumerations
|
StringLengthError
|
Errors associated with the length of the given string being
out of bounds.
Enumerations
|
VideoError
|
Error class for errors associated with parsing video data.
Enumerations
|