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

[<button style="margin-top:15px">Help me build a query</button>](https://developers.google.com/google-ads/api/fields/v25/data_link_query_builder.md.txt) [<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/v25/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/v25/customer.md.txt) |
| [product_link](https://developers.google.com/google-ads/api/fields/v25/product_link.md.txt) |

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.

## data_link.data_link_id

Field descriptionOutput only. The ID of the data link.
This field is read only.
Category`ATTRIBUTE` Data Type`INT64` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[data_link](https://developers.google.com/google-ads/api/fields/v25/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` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[data_link](https://developers.google.com/google-ads/api/fields/v25/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` Type URL`N/A` FilterableTrue SelectableTrue SortableFalse RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[data_link](https://developers.google.com/google-ads/api/fields/v25/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.v25.enums.DataLinkStatusEnum.DataLinkStatus` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[data_link](https://developers.google.com/google-ads/api/fields/v25/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.v25.enums.DataLinkTypeEnum.DataLinkType` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[data_link](https://developers.google.com/google-ads/api/fields/v25/data_link.md.txt)

## data_link.youtube_video.channel_id

Field descriptionImmutable. The ID of the hosting channel of the video. This is a string
value with "UC" prefix. For example, "UCK8sQmJBp8GCxrOtXWBpyEA".
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[data_link](https://developers.google.com/google-ads/api/fields/v25/data_link.md.txt)

## 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` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[data_link](https://developers.google.com/google-ads/api/fields/v25/data_link.md.txt)