customers

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

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

Request

  • Base URL
    https://searchads360.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/doubleclicksearch
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/doubleclicksearch
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

customersIdstring required

Request body

dataLinkStatus'UNSPECIFIED' | 'UNKNOWN' | 'REQUESTED' | 'PENDING_APPROVAL' | 'ENABLED' | 'DISABLED' | 'REVOKED' | 'REJECTED'

Required. The data link status to be updated to.

resourceNamestring

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

Response

Successful response

resourceNamestring

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

Changes

No recorded changes to this operation across all 4 revisions of this API.