Label
Stay organized with collections
Save and categorize content based on your preferences.
Fields |
resource_name
|
string
Immutable. Name of the resource. Label resource names have the form: customers/{customer_id}/labels/{label_id}
|
status
|
LabelStatus
Output only. Status of the label. Read only.
|
text_label
|
TextLabel
A type of label displaying text on a colored background.
|
id
|
int64
Output only. ID of the label. Read only.
|
name
|
string
The name of the label. This field is required and should not be empty when creating a new label. The length of this string should be between 1 and 80, inclusive.
|
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 2025-08-07 UTC.
[null,null,["Last updated 2025-08-07 UTC."],[],[],null,["# Label\n\nA label.\n\n| Fields ||\n|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `resource_name` | `string` Immutable. Name of the resource. Label resource names have the form: `customers/{customer_id}/labels/{label_id}` |\n| ### `status` | [LabelStatus](/google-ads/api/reference/rpc/v19/LabelStatusEnum.LabelStatus) Output only. Status of the label. Read only. |\n| ### `text_label` | [TextLabel](/google-ads/api/reference/rpc/v19/TextLabel) A type of label displaying text on a colored background. |\n| ### `id` | `int64` Output only. ID of the label. Read only. |\n| ### `name` | `string` The name of the label. This field is required and should not be empty when creating a new label. The length of this string should be between 1 and 80, inclusive. |"]]