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

# POST /v23/customers/{customersId}/dataLinks:update

`POST /v23/customers/{customersId}/dataLinks:update`

## Request

- Base URL: `https://searchads360.googleapis.com`
- URL: `https://searchads360.googleapis.com/v23/customers/{customersId}/dataLinks:update`
- 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/dataLinks:update/post.ts> (a function with typed inputs; its response is checked against the schema)

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

## Path parameters

- `customersId` string, required

## Request body

- GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest: Request message for DataLinkService.UpdateDataLink.
  - `dataLinkStatus` 'UNSPECIFIED' | 'UNKNOWN' | 'REQUESTED' | 'PENDING_APPROVAL' | 'ENABLED' | 'DISABLED' | 'REVOKED' | 'REJECTED': Required. The data link status to be updated to.
  - `resourceName` string: Required. The data link is expected to have a valid resource name.

## Response `200`

Successful response

- GoogleAdsSearchads360V23ServicesUpdateDataLinkResponse: Response message for DataLinkService.UpdateDataLink.
  - `resourceName` string: Returned for successful operations. Resource name of the data 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)
