> [!CAUTION]
> **Caution:** This documentation is for Google Ads API **v23** . The latest active version is [**v26**](https://developers.google.com/google-ads/api/reference/rpc/latest/LabelErrorEnum.LabelError).

Enum describing possible label errors.

[Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v23/errors/label_error.proto)

| Enums ||
|---|---|
| ## `CANNOT_APPLY_INACTIVE_LABEL` | An inactive label cannot be applied. |
| ## `CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION` | A label cannot be applied to a disabled ad group criterion. |
| ## `CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION` | A label cannot be applied to a negative ad group criterion. |
| ## `CANNOT_ATTACH_LABEL_TO_DRAFT` | Labels cannot be applied to a draft. |
| ## `CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER` | Labels not from a manager account cannot be applied to the customer resource. |
| ## `DUPLICATE_NAME` | Label names must be unique. |
| ## `EXCEEDED_LABEL_LIMIT_PER_TYPE` | Cannot apply more than 50 labels per resource. |
| ## `INVALID_LABEL_NAME` | Label names cannot be empty. |
| ## `INVALID_RESOURCE_FOR_MANAGER_LABEL` | Labels from a manager account cannot be applied to campaign, ad group, ad group ad, or ad group criterion resources. |
| ## `UNKNOWN` | The received error code is not known in this version. |
| ## `UNSPECIFIED` | Enum unspecified. |