LabelError
Enum describing possible label errors.
Enums |
UNSPECIFIED
|
Enum unspecified. |
UNKNOWN
|
The received error code is not known in this version. |
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. |
EXCEEDED_LABEL_LIMIT_PER_TYPE
|
Cannot apply more than 50 labels per resource. |
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. |
DUPLICATE_NAME
|
Label names must be unique. |
INVALID_LABEL_NAME
|
Label names cannot be empty. |
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. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-12 UTC.
[null,null,["Last updated 2024-10-12 UTC."],[[["This enum outlines potential errors encountered when applying labels to Google Ads entities."],["Errors can arise from issues like inactive labels, exceeding label limits, or applying labels to incompatible resources."],["The enum provides specific error codes like `CANNOT_APPLY_INACTIVE_LABEL` or `EXCEEDED_LABEL_LIMIT_PER_TYPE` to help identify the cause of the issue."],["It clarifies limitations, such as a maximum of 50 labels per resource and restrictions on applying manager account labels."],["Understanding these error codes helps developers troubleshoot and resolve label application problems in their Google Ads campaigns."]]],[]]