MediaFileService

Service to manage media files.

GetMediaFile

rpc GetMediaFile(GetMediaFileRequest) returns (MediaFile)

Returns the requested media file in full detail.

List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adwords

For more information, see the OAuth 2.0 Overview.

MutateMediaFiles

rpc MutateMediaFiles(MutateMediaFilesRequest) returns (MutateMediaFilesResponse)

Creates media files. Operation statuses are returned.

List of thrown errors: AuthenticationError AuthorizationError DatabaseError DistinctError FieldError HeaderError IdError ImageError InternalError MediaBundleError MediaFileError NewResourceCreationError NotEmptyError NullError OperatorError QuotaError RangeError RequestError SizeLimitError StringFormatError StringLengthError

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adwords

For more information, see the OAuth 2.0 Overview.