Method: accounts.clients.users.update
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["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."]]],["This document outlines the process to update a client user's status via a `PUT` HTTP request to a specified URL. The URL requires three path parameters: `accountId`, `clientAccountId`, and `userId`, all numerical identifiers. The request body must include a `ClientUser` instance, and a successful response will also return a `ClientUser` instance. Authorization requires the `https://www.googleapis.com/auth/adexchange.buyer` OAuth scope. gRPC Transcoding syntax is used.\n"]]