> [!CAUTION]
> **Caution:** This documentation is for Google Ads API **v24** . The latest active version is [**v26**](https://developers.google.com/google-ads/api/fields/latest/campaign_label).

[Help me build a query](https://developers.google.com/google-ads/api/fields/v24/campaign_label_query_builder.md.txt) [Proto definition ![on GitHub](https://developers.google.com/site-assets/logo-github.svg)](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v24/resources/campaign_label.proto)

Represents a relationship between a campaign and a label.

| Attributed resources |
|---|
| [campaign](https://developers.google.com/google-ads/api/fields/v24/campaign.md.txt) |
| [customer](https://developers.google.com/google-ads/api/fields/v24/customer.md.txt) |
| [label](https://developers.google.com/google-ads/api/fields/v24/label.md.txt) |

Fields from the preceding resources can be selected along with this
resource in your `SELECT` and `WHERE` clauses. These fields do **not** segment
metrics in your `SELECT` clause.

## campaign_label.campaign

Field descriptionImmutable. The campaign to which the label is attached.
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` CapabilitiesSelectable: True  
Filterable: True  
Sortable: False  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

**Resources:** [campaign_label](https://developers.google.com/google-ads/api/fields/v24/campaign_label.md.txt)

## campaign_label.label

Field descriptionImmutable. The label assigned to the campaign.
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` CapabilitiesSelectable: True  
Filterable: True  
Sortable: False  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

**Resources:** [campaign_label](https://developers.google.com/google-ads/api/fields/v24/campaign_label.md.txt)

## campaign_label.resource_name

Field descriptionImmutable. Name of the resource.
Campaign label resource names have the form:
`customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}`
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` CapabilitiesSelectable: True  
Filterable: True  
Sortable: False  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

Same as [campaign_label.label](https://developers.google.com/google-ads/api/fields/v24/campaign_label.md.txt#campaign_label.label).