Method: accounts.clients.users.update

  • This page details how to update an existing client user, specifically allowing changes only to the user status.

  • The HTTP request uses a PUT method with a specific URL structure including account, client account, and user IDs.

  • Required path parameters are accountId, clientAccountId, and userId, all in string format representing int64.

  • The request and response bodies both contain an instance of a ClientUser.

  • Authorization requires the https://www.googleapis.com/auth/adexchange.buyer OAuth scope.

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