MutateLabels

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

  • This method requires thehttps://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:AuthenticationErrorAuthorizationErrorDatabaseErrorDateErrorDistinctErrorFieldErrorFieldMaskErrorHeaderErrorIdErrorInternalErrorLabelErrorMutateErrorNewResourceCreationErrorNotEmptyErrorNullErrorOperatorErrorQuotaErrorRangeErrorRequestErrorResourceCountLimitExceededErrorSizeLimitErrorStringFormatErrorStringLengthError

Authorization scopes

Requires the following OAuth scope:

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

For more information, see theOAuth 2.0 Overview.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-12 UTC.