MutateAdGroupAds

  • The MutateAdGroupAds RPC is used to create, update, or remove ads and returns their operation statuses.

  • This operation can throw a variety of errors related to ads, ad groups, authentication, authorization, data integrity, and more.

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

MutateAdGroupAds

rpc MutateAdGroupAds(MutateAdGroupAdsRequest) returns (MutateAdGroupAdsResponse)

Creates, updates, or removes ads. Operation statuses are returned.

List of thrown errors: AdCustomizerError AdError AdGroupAdError AdSharingError AdxError AssetError AssetLinkError AuthenticationError AuthorizationError CollectionSizeError ContextError DatabaseError DateError DistinctError FeedAttributeReferenceError FieldError FieldMaskError FunctionError FunctionParsingError HeaderError IdError ImageError InternalError ListOperationError MediaBundleError MediaFileError MutateError NewResourceCreationError NotEmptyError NullError OperationAccessDeniedError OperatorError PolicyFindingError PolicyValidationParameterError PolicyViolationError QuotaError RangeError RequestError ResourceCountLimitExceededError 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.