Update the given proposal at the client known revision number. If the server revision has advanced since the passed-in proposal.proposal_revision, an ABORTED error message will be returned. Only the buyer-modifiable fields of the proposal will be updated.
Note that the deals in the proposal will be updated to match the passed-in copy. If a passed-in deal does not have a dealId, the server will assign a new unique ID and create the deal. If passed-in deal has a dealId, it will be updated to match the passed-in copy. Any existing deals not present in the passed-in proposal will be deleted. It is an error to pass in a deal with a dealId not present at head.
HTTP request
PUT https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/proposals/{proposalId}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThis document explains how to update a proposal with the specified ID for a given buyer account.\u003c/p\u003e\n"],["\u003cp\u003eThe request must include the updated proposal details, including any changes to existing deals or the creation of new ones.\u003c/p\u003e\n"],["\u003cp\u003eIf a deal in the proposal doesn't have an ID, the server will assign a new one; existing deals omitted in the request will be deleted.\u003c/p\u003e\n"],["\u003cp\u003eOnly buyer-modifiable fields will be updated, and an error will occur if the server revision is more recent than the client's.\u003c/p\u003e\n"],["\u003cp\u003eThis operation requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/adexchange.buyer\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This content outlines the process of updating a proposal via an HTTP PUT request. The request targets a specific proposal by its `accountId` and `proposalId` in the URL path. The request body contains the updated `Proposal`, while the response body returns the updated `Proposal`. Deals within the proposal are updated, created, or deleted based on their `dealId`. An `ABORTED` error is returned if the server's revision is newer. Access requires the `adexchange.buyer` OAuth scope.\n"],null,["# Method: accounts.proposals.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\nUpdate the given proposal at the client known revision number. If the server revision has advanced since the passed-in `proposal.proposal_revision`, an `ABORTED` error message will be returned. Only the buyer-modifiable fields of the proposal will be updated.\n\nNote that the deals in the proposal will be updated to match the passed-in copy. If a passed-in deal does not have a `dealId`, the server will assign a new unique ID and create the deal. If passed-in deal has a `dealId`, it will be updated to match the passed-in copy. Any existing deals not present in the passed-in proposal will be deleted. It is an error to pass in a deal with a `dealId` not present at head.\n\n### HTTP request\n\n`PUT https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/proposals/{proposalId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------|-----------------------------------------|\n| `accountId` | `string` Account ID of the buyer. |\n| `proposalId` | `string` The unique ID of the proposal. |\n\n### Request body\n\nThe request body contains an instance of [Proposal](/authorized-buyers/apis/reference/rest/v2beta1/accounts.proposals#Proposal).\n\n### Response body\n\nIf successful, the response body contains an instance of [Proposal](/authorized-buyers/apis/reference/rest/v2beta1/accounts.proposals#Proposal).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/adexchange.buyer`"]]