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

# POST /v23/customers/{customersId}/customerClientLinks:mutate

`POST /v23/customers/{customersId}/customerClientLinks:mutate`

## Request

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

Creates or updates a customer client link. Operation statuses are returned. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() [FieldMaskError]() [HeaderError]() [InternalError]() [ManagerLinkError]() [MutateError]() [NewResourceCreationError]() [QuotaError]() [RequestError]()

## Path parameters

- `customersId` string, required

## Request body

- GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest: Request message for CustomerClientLinkService.MutateCustomerClientLink.
  - `operation` GoogleAdsSearchads360V23ServicesCustomerClientLinkOperation: A single operation (create, update) on a CustomerClientLink.
    - `create` GoogleAdsSearchads360V23ResourcesCustomerClientLink: Represents customer client link relationship.
      - `clientCustomer` string: Immutable. The client customer linked to this customer.
      - `hidden` boolean: The visibility of the link. Users can choose whether or not to see hidden links in the Google Ads UI. Default value is false
      - `managerLinkId` string, int64: Output only. This is uniquely identifies a customer client link. Read only.
      - `resourceName` string: Immutable. Name of the resource. CustomerClientLink resource names have the form: `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}`
      - `status` 'UNSPECIFIED' | 'UNKNOWN' | 'ACTIVE' | 'INACTIVE' | 'PENDING' | 'REFUSED' | 'CANCELED': This is the status of the link between client and manager.
    - `update` GoogleAdsSearchads360V23ResourcesCustomerClientLink: Represents customer client link relationship.
      - `clientCustomer` string: Immutable. The client customer linked to this customer.
      - `hidden` boolean: The visibility of the link. Users can choose whether or not to see hidden links in the Google Ads UI. Default value is false
      - `managerLinkId` string, int64: Output only. This is uniquely identifies a customer client link. Read only.
      - `resourceName` string: Immutable. Name of the resource. CustomerClientLink resource names have the form: `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}`
      - `status` 'UNSPECIFIED' | 'UNKNOWN' | 'ACTIVE' | 'INACTIVE' | 'PENDING' | 'REFUSED' | 'CANCELED': This is the status of the link between client and manager.
    - `updateMask` string, google-fieldmask: FieldMask that determines which resource fields are modified in an update.
  - `validateOnly` boolean: If true, the request is validated but not executed. Only errors are returned, not results.

## Response `200`

Successful response

- GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResponse: Response message for a CustomerClientLink mutate.
  - `result` GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResult: The result for a single customer client link mutate.
    - `resourceName` string: Returned for successful operations.

---

[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)
