Fields from the above resources may be selected along with this
resource in your SELECT and WHERE clauses. These fields will not segment
metrics in your SELECT clause.
label.id
Field description
Output only. ID of the label. Read only.
Category
ATTRIBUTE
Data Type
INT64
Type URL
N/A
Filterable
True
Selectable
True
Sortable
True
Repeated
False
label.name
Field description
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.
Category
ATTRIBUTE
Data Type
STRING
Type URL
N/A
Filterable
True
Selectable
True
Sortable
True
Repeated
False
label.resource_name
Field description
Immutable. Name of the resource. Label resource names have the form: customers/{customer_id}/labels/{label_id}
Background color of the label in HEX format. This string must match the regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. Note: The background color may not be visible for manager accounts.
Category
ATTRIBUTE
Data Type
STRING
Type URL
N/A
Filterable
True
Selectable
True
Sortable
True
Repeated
False
label.text_label.description
Field description
A short description of the label. The length must be no more than 200 characters.
[null,null,["Last updated 2024-10-18 UTC."],[[["Labels in Google Ads are used to organize campaigns, ad groups, and other elements for easier management and reporting."],["Labels have properties like `id`, `name`, `status`, and text label attributes such as `background_color` and `description`."],["You can query labels by filtering, selecting, and sorting on various label attributes, including those of their associated text labels."],["The resource name for a label follows the format: `customers/{customer_id}/labels/{label_id}`."],["Label metrics are not segmentable in your SELECT clause, but fields from attributed resources like `customer` can be selected along with the label resource."]]],[]]