Update a given private auction proposal Try it now.
Request
HTTP request
POST https://www.googleapis.com/adexchangebuyer/v1.4/privateauction/privateAuctionId/updateproposal
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
privateAuctionId |
string |
The private auction id to be updated. |
Authorization
This request requires authorization with the following scope:
Scope |
---|
https://www.googleapis.com/auth/adexchange.buyer |
For more information, see the authentication and authorization page.
Request body
In the request body, supply data with the following structure:
{ "externalDealId": string, "proposalRevisionNumber": long, "updateAction": string, "note": { "kind": "adexchangebuyer#marketplaceNote", "timestampMs": long, "creatorRole": string, "note": string, "proposalRevisionNumber": long, "proposalId": string, "dealId": string, "noteId": string } }
Property name | Value | Description | Notes |
---|---|---|---|
externalDealId |
string |
The externalDealId of the deal to be updated. | |
proposalRevisionNumber |
long |
The current revision number of the proposal to be updated. | |
updateAction |
string |
The proposed action on the private auction proposal.
Acceptable values are:
|
|
note |
nested object |
Optional note to be added. | |
note.kind |
string |
Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceNote" . |
|
note.timestampMs |
long |
The timestamp (ms since epoch) that this note was created. (readonly) | |
note.creatorRole |
string |
The role of the person (buyer/seller) creating the note. (readonly)
Acceptable values are:
|
|
note.note |
string |
The actual note to attach. (readonly, except on create) | |
note.proposalRevisionNumber |
long |
If the note is associated with a proposal revision number, then store that here. (readonly, except on create) | |
note.proposalId |
string |
The proposalId that a note is attached to. (readonly) | |
note.dealId |
string |
Notes can optionally be associated with a deal. (readonly, except on create) | |
note.noteId |
string |
The unique id for the note. (readonly) |
Response
If successful, this method returns an empty response body.
Try it!
Use the APIs Explorer below to call this method on live data and see the response.