Join us live onDiscord on the Google Advertising and Measurement Community server and onYouTube on February 26th at 11:00 AM EST! We will discuss the new features added in v23.1 of the Google Ads API.

data_link

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

Attributed resources
customer
product_link

Fields from the above resources may be selected along with this resource in your SELECT and WHERE clauses. These fieldswill not segment metrics in yourSELECT clause.

data_link.data_link_id

Field descriptionOutput only. The ID of the data link. This field is read only.
CategoryATTRIBUTE
Data TypeINT64
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

data_link.product_link_id

Field descriptionOutput only. The ID of the link. This field is read only.
CategoryATTRIBUTE
Data TypeINT64
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

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}}
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

data_link.status

Field descriptionOutput only. The status of the data link.
CategoryATTRIBUTE
Data Type

ENUM

DISABLED
ENABLED
PENDING_APPROVAL
REJECTED
REQUESTED
REVOKED
UNKNOWN
UNSPECIFIED
Type URLgoogle.ads.googleads.v23.enums.DataLinkStatusEnum.DataLinkStatus
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

data_link.type

Field descriptionOutput only. The type of the data.
CategoryATTRIBUTE
Data Type

ENUM

UNKNOWN
UNSPECIFIED
VIDEO
Type URLgoogle.ads.googleads.v23.enums.DataLinkTypeEnum.DataLinkType
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

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".
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-29 UTC.