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 variety of errors can be thrown, including Authentication, Authorization, Database, and Request errors, among many others.

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.