MutateAds

  • The MutateAds RPC updates ads and returns operation statuses.

  • Updating TextAd, ExpandedDynamicSearchAd, GmailAd, and ImageAd is not supported by this operation.

  • A variety of errors may be thrown during the operation, including AdError, AuthenticationError, and QuotaError.

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

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.