Stay organized with collections
Save and categorize content based on your preferences.
Represents a relationship between a customer and a label. This customer may not have access to all the labels attached to it. Additional CustomerLabels may be returned by increasing permissions with login-customer-id.
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.
customer_label.customer
Field description
Output only. The resource name of the customer to which the label is attached. Read only.
Category
ATTRIBUTE
Data Type
RESOURCE_NAME
Type URL
N/A
Filterable
True
Selectable
True
Sortable
True
Repeated
False
customer_label.label
Field description
Output only. The resource name of the label assigned to the customer. Note: the Customer ID portion of the label resource name is not validated when creating a new CustomerLabel.
Category
ATTRIBUTE
Data Type
RESOURCE_NAME
Type URL
N/A
Filterable
True
Selectable
True
Sortable
False
Repeated
False
customer_label.resource_name
Field description
Immutable. Name of the resource. Customer label resource names have the form: customers/{customer_id}/customerLabels/{label_id}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[[["CustomerLabels represent the relationship between a customer and a label, though access to all labels might be limited by permissions."],["You can select fields from linked resources (customer) in queries, but they won't segment metrics."],["The resource includes the customer, label, and resource name itself, all of which are filterable and mostly selectable."],["Customer ID within the label's resource name isn't validated during CustomerLabel creation."]]],["Customer labels represent a connection between a customer and a label. The `customer_label` resource contains the customer's resource name, the assigned label's resource name, and the resource name of the customer label itself. Fields from the customer resource can be selected but won't segment metrics. Permissions via `login-customer-id` can reveal additional labels. The resource names are used for filtering and selecting data, while only the customer resource name can be sorted. The `customer` and `label` names are output only.\n"]]