---
title: "POST /v23/customers/{+customerId}/dataLinks:create"
method: POST
path: "/v23/customers/{+customerId}/dataLinks:create"
tags: ["customers"]
---

# POST /v23/customers/{+customerId}/dataLinks:create

`POST /v23/customers/{+customerId}/dataLinks:create`

Creates a data link. The requesting Google Ads account name and account ID will be shared with the third party (such as YouTube creators for video links) to whom you are creating the link with. Only customers on the allow-list can create data links. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [DataLinkError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]()

## Path parameters

- `customerId` string, required

## Request body

- GoogleAdsSearchads360V23ServicesCreateDataLinkRequest — Request message for DataLinkService.CreateDataLink.
  - `dataLink` GoogleAdsSearchads360V23ResourcesDataLink — Represents the data sharing connection between
    - `productLinkId` string, int64 — Output only. The ID of the link. This field is read only.
    - `type` 'UNSPECIFIED' | 'UNKNOWN' | 'VIDEO' — Output only. The type of the data.
    - `status` 'UNSPECIFIED' | 'UNKNOWN' | 'REQUESTED' | 'PENDING_APPROVAL' | 'ENABLED' | 'DISABLED' | 'REVOKED' | 'REJECTED' — Output only. The status of the data link.
    - `resourceName` string — Immutable. Resource name of the product data link. DataLink resource names have the form: `
    - `dataLinkId` string, int64 — Output only. The ID of the data link. This field is read only.
    - `youtubeVideo` GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier — The identifier for YouTube video
      - `channelId` string — Immutable. The ID of the hosting channel of the video. This is a string value with “UC” prefix. For example, "UCK8sQmJBp8GCxrOtXWBpyEA".
      - `videoId` string — 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".

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/searchads360.md) · [All operations](https://skmtc.net/google/apis/searchads360/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/searchads360/versions/40d087435afd/schema)
