Method: accounts.clients.create

  • Creates a new client buyer for a given account using an HTTP POST request.

  • The request requires specifying the accountId as a path parameter and providing client details in the request body.

  • A successful response returns the newly created client details.

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

Creates a new client buyer.

HTTP request

POST https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/clients

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 create a client for. (required)

Request body

The request body contains an instance of Client.

Response body

If successful, the response body contains a newly created instance of Client.

Authorization Scopes

Requires the following OAuth scope:

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