Method: customers.dataLinks.update

Update a data link.

List of thrown errors: AuthenticationError AuthorizationError DatabaseError DataLinkError FieldError HeaderError InternalError MutateError QuotaError RequestError

HTTP request

POST https://googleads.googleapis.com/v19/customers/{customerId}/dataLinks:update

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
customerId

string

Required. The ID of the customer for which the data link is created.

Request body

The request body contains data with the following structure:

JSON representation
{
  "dataLinkStatus": enum (DataLinkStatus),
  "resourceName": string
}
Fields
resourceName

string

Required. The data link is expected to have a valid resource name.

Response body

Response message for DataLinkService.UpdateDataLink.

If successful, the response body contains data with the following structure:

JSON representation
{
  "resourceName": string
}
Fields
resourceName

string

Returned for successful operations. Resource name of the data link.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adwords

For more information, see the OAuth 2.0 Overview.