data_link

  • The data link resource represents the connection for data sharing between a Google Ads customer and another product.

  • Fields from attributed resources like customer and product_link can be selected with data_link but will not segment metrics.

  • Key fields of the data_link resource include data_link_id, product_link_id, resource_name, status, type, and youtube_video.video_id.

  • The data_link_id and product_link_id are read-only output fields representing the IDs of the data link and the product link respectively.

  • The resource_name of the data link is immutable and follows a specific format.

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 fields will not segment metrics in your SELECT clause.

Field descriptionOutput only. The ID of the data link. This field is read only.
CategoryATTRIBUTE
Data TypeINT64
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse
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
Type URLgoogle.ads.googleads.v22.enums.DataLinkStatusEnum.DataLinkStatus
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

data_link.type

Field descriptionOutput only. The type of the data.
CategoryATTRIBUTE
Data Type
Type URLgoogle.ads.googleads.v22.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