MutateAds

  • The MutateAds RPC updates ads and returns operation statuses.

  • Updating certain ad types like TextAd, ExpandedDynamicSearchAd, GmailAd, and ImageAd is not supported by MutateAds.

  • A wide range of errors can be thrown during the MutateAds operation, including errors related to authorization, data integrity, and policy violations.

  • The MutateAds operation requires the https://www.googleapis.com/auth/adwords OAuth scope for authorization.

MutateAds

rpc MutateAds(MutateAdsRequest) returns (MutateAdsResponse)

Updates ads. Operation statuses are returned. Updating ads is not supported for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd.

List of thrown errors: AdCustomizerError AdError AdSharingError AdxError AssetError AssetLinkError AuthenticationError AuthorizationError CollectionSizeError DatabaseError DateError DistinctError FeedAttributeReferenceError FieldError FieldMaskError FunctionError FunctionParsingError HeaderError IdError ImageError InternalError ListOperationError MediaBundleError MediaFileError MutateError NewResourceCreationError NotEmptyError NullError OperatorError PolicyFindingError PolicyViolationError QuotaError RangeError RequestError SizeLimitError StringFormatError StringLengthError UrlFieldError

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.