Method: accounts.clients.update
Stay organized with collections
Save and categorize content based on your preferences.
Updates an existing client buyer.
HTTP request
PUT https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/clients/{clientAccountId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
accountId |
string (int64 format)
Unique numerical account ID for the buyer of which the client buyer is a customer; the sponsor buyer to update a client for. (required)
|
clientAccountId |
string (int64 format)
Unique numerical account ID of the client to update. (required)
|
Request body
The request body contains an instance of Client
.
Response body
If successful, the response body contains an instance of Client
.
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."],[[["\u003cp\u003eUpdates an existing client buyer using a PUT request to a specific URL with account and client IDs.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the \u003ccode\u003eaccountId\u003c/code\u003e and \u003ccode\u003eclientAccountId\u003c/code\u003e as path parameters within the URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request and response bodies both utilize the \u003ccode\u003eClient\u003c/code\u003e object for data transfer.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization necessitates the \u003ccode\u003ehttps://www.googleapis.com/auth/adexchange.buyer\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This document outlines the process to update a client buyer using a PUT request to a specific URL. The URL requires two path parameters: `accountId` and `clientAccountId`, both numerical IDs. The request body must include a `Client` instance, and a successful response will also return a `Client` instance. The process requires OAuth authorization with the scope `https://www.googleapis.com/auth/adexchange.buyer`. The request can be tried via the try it link.\n"],null,["# Method: accounts.clients.update\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates an existing client buyer.\n\n### HTTP request\n\n`PUT https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/clients/{clientAccountId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `accountId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Unique numerical account ID for the buyer of which the client buyer is a customer; the sponsor buyer to update a client for. (required) |\n| `clientAccountId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Unique numerical account ID of the client to update. (required) |\n\n### Request body\n\nThe request body contains an instance of [Client](/authorized-buyers/apis/reference/rest/v2beta1/accounts.clients#Client).\n\n### Response body\n\nIf successful, the response body contains an instance of [Client](/authorized-buyers/apis/reference/rest/v2beta1/accounts.clients#Client).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/adexchange.buyer`"]]