data_link
Stay organized with collections
Save and categorize content based on your preferences.
Help me build a query
Proto definition
Represents the data sharing connection between a Google
Ads customer and another product's data.
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 description Output only. The ID of the data link.
This field is read only.
Category ATTRIBUTE
Data Type INT64
Capabilities Selectable: True Filterable: True Sortable: True Repeated: False
Selectable with The following fields and resources can be selected with this field:
Resources: data_link
data_link.product_link_id
Field description Output only. The ID of the link.
This field is read only.
Category ATTRIBUTE
Data Type INT64
Capabilities Selectable: True Filterable: True Sortable: True Repeated: False
Selectable with The following fields and resources can be selected with this field:
Resources: data_link
data_link.resource_name
Field description Immutable. 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
Capabilities Selectable: True Filterable: True Sortable: False Repeated: False
Selectable with The following fields and resources can be selected with this field:
Resources: data_link
data_link.status
Field description Output 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.v26.enums.DataLinkStatusEnum.DataLinkStatus
Capabilities Selectable: True Filterable: True Sortable: True Repeated: False
Selectable with The following fields and resources can be selected with this field:
Resources: data_link
data_link.youtube_video.channel_id
Field description Immutable. 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
Capabilities Selectable: True Filterable: True Sortable: True Repeated: False
Selectable with The following fields and resources can be selected with this field:
Same as data_link.status .
data_link.youtube_video.video_id
Field description Immutable. 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
Capabilities Selectable: True Filterable: True Sortable: True Repeated: False
Selectable with The following fields and resources can be selected with this field:
Same as data_link.status .
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-17 UTC.
[null,null,["Last updated 2026-11-17 UTC."],[],[]]