Method: accounts.clients.users.update

  • This operation updates the status of an existing client user within a specified client account and sponsor buyer account.

  • Only the user status can be modified during the update, using a PUT request to the provided endpoint.

  • The request requires providing the numerical IDs for the sponsor buyer account, client buyer account, and the user being updated in the URL path.

  • To authorize, include the 'https://www.googleapis.com/auth/adexchange.buyer' scope.

  • Both the request and response bodies utilize the ClientUser object for data exchange.

Updates an existing client user. Only the user status can be changed on update.

HTTP request

PUT https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
accountId

string (int64 format)

Numerical account ID of the client's sponsor buyer. (required)

clientAccountId

string (int64 format)

Numerical account ID of the client buyer that the user to be retrieved is associated with. (required)

userId

string (int64 format)

Numerical identifier of the user to retrieve. (required)

Request body

The request body contains an instance of ClientUser.

Response body

If successful, the response body contains an instance of ClientUser.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adexchange.buyer