Proposals: update

This is an invitation-only beta feature.

Requires authorization

Update the given proposal Try it now.

Request

HTTP request

PUT https://www.googleapis.com/adexchangebuyer/v1.4/proposals/proposalId/revisionNumber/updateAction

Parameters

Parameter name Value Description
Path parameters
proposalId string The proposal id to update.
revisionNumber long The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller should then fetch the latest proposal at head revision and retry the update at that revision.
updateAction string The proposed action to take on the proposal. This field is required and it must be set when updating a proposal.

Acceptable values are:
  • "accept"
  • "cancel"
  • "propose"
  • "proposeAndAccept"
  • "unknownAction"
  • "updateFinalized"

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

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

Request body

In the request body, supply a Proposals resource.

Response

If successful, this method returns a Proposals resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Send feedback about...

Buyer REST API
Buyer REST API