MutateLabels

  • The MutateLabels method is used to create, update, or remove labels and returns their operation statuses.

  • This method requires the https://www.googleapis.com/auth/adwords OAuth scope for authorization.

  • A comprehensive list of potential errors that can be thrown by this method is provided, covering various categories from authentication and authorization to database and internal errors.

MutateLabels

rpc MutateLabels(MutateLabelsRequest) returns (MutateLabelsResponse)

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

List of thrown errors: AuthenticationError AuthorizationError DatabaseError DateError DistinctError FieldError FieldMaskError HeaderError IdError InternalError LabelError MutateError NewResourceCreationError NotEmptyError NullError OperatorError QuotaError RangeError RequestError ResourceCountLimitExceededError SizeLimitError StringFormatError StringLengthError

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.