Method: accounts.proposals.create

  • The create method is used to create a proposal, which is assigned a unique ID by the server along with any deals it contains.

  • The HTTP request uses a POST method to the specified Google API endpoint, incorporating an accountId path parameter.

  • The request body requires an instance of the Proposal resource, and a successful response body returns a newly created instance of the same resource.

  • The create method requires authorization using the https://www.googleapis.com/auth/adexchange.buyer OAuth scope.

Create the given proposal. Each created proposal and any deals it contains are assigned a unique ID by the server.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
accountId

string

Account ID of the buyer.

Request body

The request body contains an instance of Proposal.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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