customer_label

  • This resource represents the relationship between a customer and a label, where the customer may not have access to all attached labels.

  • Additional CustomerLabels can be retrieved by increasing permissions with login-customer-id.

  • Fields from the customer resource can be selected along with this resource in SELECT and WHERE clauses, but they will not segment metrics.

  • The resource name follows the format customers/{customer_id}/customerLabels/{label_id}.

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.

Attributed resources
customer

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 descriptionOutput only. The resource name of the customer to which the label is attached. Read only.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

customer_label.label

Field descriptionOutput 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.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

customer_label.resource_name

Field descriptionImmutable. Name of the resource. Customer label resource names have the form: customers/{customer_id}/customerLabels/{label_id}
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse