customers

Moves a client customer to a new manager customer. This simplifies the complex request that requires two operations to move a client customer to a new manager, for example: 1. Update operation with Status INACTIVE (previous manager) and, 2. Update operation with Status ACTIVE (new manager). List of thrown errors: AuthenticationError AuthorizationError DatabaseError FieldError HeaderError InternalError MutateError QuotaError RequestError

post/v23/customers/{+customerId}/customerManagerLinks:moveManagerLink

Request

  • Base URL: https://searchads360.googleapis.com
  • URL: https://searchads360.googleapis.com/v23/customers/{+customerId}/customerManagerLinks:moveManagerLink
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/doubleclicksearch) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/doubleclicksearch)

Path parameters

customerIdstring required

Required. The ID of the client customer that is being moved.

Request body

newManagerstring

Required. The resource name of the new manager customer that the client wants to move to. Customer resource names have the format: "customers/{customer_id}"

previousCustomerManagerLinkstring

Required. The resource name of the previous CustomerManagerLink. The resource name has the form: customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}

validateOnlyboolean

If true, the request is validated but not executed. Only errors are returned, not results.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status