Learn more about migrating to the Google Ads API by watching our latest webinar

AssetService

Service to manage assets. Asset types can be created with AssetService are YoutubeVideoAsset, MediaBundleAsset and ImageAsset. TextAsset should be created with Ad inline.

GetAsset

rpc GetAsset(GetAssetRequest) returns (Asset)

Returns the requested asset 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.

MutateAssets

rpc MutateAssets(MutateAssetsRequest) returns (MutateAssetsResponse)

Creates assets. Operation statuses are returned.

List of thrown errors: AssetError AuthenticationError AuthorizationError CollectionSizeError CurrencyCodeError DatabaseError DateError DistinctError FieldError FieldMaskError HeaderError IdError InternalError ListOperationError MediaUploadError MutateError NotAllowlistedError NotEmptyError OperatorError QuotaError RangeError RequestError SizeLimitError StringFormatError StringLengthError UrlFieldError YoutubeVideoRegistrationError

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.