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

[Help me build a query](https://developers.google.com/google-ads/api/fields/v23/data_link_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/v23/resources/data_link.proto)

Represents the data sharing connection between a Google
Ads customer and another product's data.

| Attributed resources |
|---|
| [customer](https://developers.google.com/google-ads/api/fields/v23/customer.md.txt) |
| [product_link](https://developers.google.com/google-ads/api/fields/v23/product_link.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.

## data_link.data_link_id

Field descriptionOutput only. The ID of the data link.
This field is read only.
Category`ATTRIBUTE` Data Type`INT64` CapabilitiesSelectable: True  
Filterable: True  
Sortable: True  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

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

## data_link.product_link_id

Field descriptionOutput only. The ID of the link.
This field is read only.
Category`ATTRIBUTE` Data Type`INT64` CapabilitiesSelectable: True  
Filterable: True  
Sortable: True  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

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

## data_link.resource_name

Field descriptionImmutable. Resource name of the product data link.
DataLink resource names have the form:

`customers/{customer_id}/dataLinks/{product_link_id}~{data_link_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:

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

## data_link.status

Field descriptionOutput only. The status of the data link.
Category`ATTRIBUTE` Data Type`ENUM`
`DISABLED``ENABLED``PENDING_APPROVAL``REJECTED``REQUESTED``REVOKED``UNKNOWN``UNSPECIFIED` Type URL`google.ads.googleads.v23.enums.DataLinkStatusEnum.DataLinkStatus` CapabilitiesSelectable: True  
Filterable: True  
Sortable: True  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

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

## data_link.type

Field descriptionOutput only. The type of the data.
Category`ATTRIBUTE` Data Type`ENUM`
`UNKNOWN``UNSPECIFIED``VIDEO` Type URL`google.ads.googleads.v23.enums.DataLinkTypeEnum.DataLinkType` CapabilitiesSelectable: True  
Filterable: True  
Sortable: True  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

Same as [data_link.status](https://developers.google.com/google-ads/api/fields/v23/data_link.md.txt#data_link.status).

## data_link.youtube_video.video_id

Field descriptionImmutable. The ID of the video associated with the video link. This is the
11 character string value used in the YouTube video URL. For example, video
ID is jV1vkHv4zq8 from the YouTube video URL
"https://www.youtube.com/watch?v=jV1vkHv4zq8\&t=2s".
Category`ATTRIBUTE` Data Type`STRING` CapabilitiesSelectable: True  
Filterable: True  
Sortable: True  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

Same as [data_link.status](https://developers.google.com/google-ads/api/fields/v23/data_link.md.txt#data_link.status).