---
title: "POST /v23/customers/{customersId}/productLinks:create"
method: POST
path: "/v23/customers/{customersId}/productLinks:create"
tags: ["customers"]
---

# POST /v23/customers/{customersId}/productLinks:create

`POST /v23/customers/{customersId}/productLinks:create`

## Request

- Base URL: `https://searchads360.googleapis.com`
- URL: `https://searchads360.googleapis.com/v23/customers/{customersId}/productLinks:create`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/doubleclicksearch`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/doubleclicksearch`
- TypeScript: <https://skmtc.dev/google/apis/searchads360/docs/v23/customers/:customersId/productLinks:create/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a product link. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]()

## Path parameters

- `customersId` string, required

## Request body

- GoogleAdsSearchads360V23ServicesCreateProductLinkRequest: Request message for ProductLinkService.CreateProductLink.
  - `productLink` GoogleAdsSearchads360V23ResourcesProductLink: Represents the data sharing connection between
    - `advertisingPartner` GoogleAdsSearchads360V23ResourcesAdvertisingPartnerIdentifier: The identifier for the Advertising Partner Google Ads account.
      - `customer` string: Output only. The resource name of the advertising partner Google Ads account. This field is required and should not be empty when creating a new Advertising Partner link. It is unable to be modified after the creation of the link.
    - `dataPartner` GoogleAdsSearchads360V23ResourcesDataPartnerIdentifier: The identifier for Data Partner account.
      - `dataPartnerId` string, int64: Immutable. The customer ID of the Data partner account. This field is required and should not be empty when creating a new data partner link. It is unable to be modified after the creation of the link.
    - `googleAds` GoogleAdsSearchads360V23ResourcesGoogleAdsIdentifier: The identifier for Google Ads account.
      - `customer` string: Immutable. The resource name of the Google Ads account. This field is required and should not be empty when creating a new Google Ads link. It is unable to be modified after the creation of the link.
    - `merchantCenter` GoogleAdsSearchads360V23ResourcesMerchantCenterIdentifier: The identifier for Google Merchant Center account
      - `merchantCenterId` string, int64: Immutable. The customer ID of the Google Merchant Center account. This field is required and should not be empty when creating a new Merchant Center link. It is unable to be modified after the creation of the link.
    - `productLinkId` string, int64: Output only. The ID of the link. This field is read only.
    - `resourceName` string: Immutable. Resource name of the product link. ProductLink resource names have the form: ` `
    - `type` 'UNSPECIFIED' | 'UNKNOWN' | 'DATA_PARTNER' | 'GOOGLE_ADS' | 'HOTEL_CENTER' | 'MERCHANT_CENTER' | 'ADVERTISING_PARTNER': Output only. The type of the linked product.

## Response `200`

Successful response

- GoogleAdsSearchads360V23ServicesCreateProductLinkResponse: Response message for ProductLinkService.CreateProductLink.
  - `resourceName` string: Returned for successful operations. Resource name of the product link.

---

[API](https://skmtc.dev/google/apis/searchads360.md) - [All operations](https://skmtc.dev/google/apis/searchads360/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/searchads360/revisions/4a4511f84b18?raw)
