[<button style="margin-top:15px">Help me build a query</button>](https://developers.google.com/google-ads/api/fields/v26/customer_label_query_builder) [<button style="margin-top:15px">Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)</button>](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v26/resources/customer_label.proto)

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](https://developers.google.com/google-ads/api/fields/v26/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. This field should not be set when creating a new `CustomerLabel`.
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[customer_label](https://developers.google.com/google-ads/api/fields/v26/customer_label)

## customer_label.label

Field descriptionOutput only. The resource name of the label assigned to the customer.
This field should not be set when creating a new `CustomerLabel`.

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` FilterableTrue SelectableTrue SortableFalse RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[customer_label](https://developers.google.com/google-ads/api/fields/v26/customer_label)

## customer_label.resource_name

Field descriptionImmutable. Name of the resource.
Customer label resource names have the form:
`customers/{customer_id}/customerLabels/{label_id}`
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` Type URL`N/A` FilterableTrue SelectableTrue SortableFalse RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[customer_label](https://developers.google.com/google-ads/api/fields/v26/customer_label)