MutateAdGroups

  • The MutateAdGroups function allows for the creation, updates, or removal of ad groups, returning their operation statuses.

  • This function can throw a variety of errors related to ad groups, authentication, authorization, bidding, database issues, and more.

  • To use MutateAdGroups, the request requires the https://www.googleapis.com/auth/adwords OAuth scope.

MutateAdGroups

rpc MutateAdGroups(MutateAdGroupsRequest) returns (MutateAdGroupsResponse)

Creates, updates, or removes ad groups. Operation statuses are returned.

List of thrown errors: AdGroupError AdxError AuthenticationError AuthorizationError BiddingError BiddingStrategyError DatabaseError DateError DistinctError FieldError FieldMaskError HeaderError IdError InternalError ListOperationError MultiplierError MutateError NewResourceCreationError NotEmptyError NullError OperationAccessDeniedError OperatorError QuotaError RangeError RequestError ResourceCountLimitExceededError SettingError 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.