Resource: Proposal
Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer.
JSON representation |
---|
{ "name": string, "updateTime": string, "proposalRevision": string, "dealType": enum ( |
Fields | |
---|---|
name |
Immutable. The name of the proposal serving as a unique identifier. Format: buyers/{accountId}/proposals/{proposalId} |
updateTime |
Output only. The time when the proposal was last revised. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
proposalRevision |
Output only. The revision number for the proposal. Each update to the proposal or deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made. |
dealType |
Output only. Type of deal the proposal contains. |
displayName |
Output only. The descriptive name for the proposal. Maximum length of 255 unicode characters is allowed. Control characters are not allowed. Buyers cannot update this field. Note: Not to be confused with name, which is a unique identifier of the proposal. |
state |
Output only. Indicates the state of the proposal. |
isRenegotiating |
Output only. True if the proposal was previously finalized and is now being renegotiated. |
originatorRole |
Output only. Indicates whether the buyer/seller created the proposal. |
publisherProfile |
Immutable. Reference to the seller on the proposal. Format: |
buyerPrivateData |
Buyer private data (hidden from seller). |
billedBuyer |
Output only. When the |
sellerContacts[] |
Output only. Contact information for the seller. |
buyerContacts[] |
Contact information for the buyer. |
lastUpdaterOrCommentorRole |
Output only. The role of the last user that either updated the proposal or left a comment. |
termsAndConditions |
Output only. The terms and conditions associated with this proposal. Accepting a proposal implies acceptance of this field. This is created by the seller, the buyer can only view it. |
pausingConsented |
Whether pausing is allowed for the proposal. This is a negotiable term between buyers and publishers. |
notes[] |
A list of notes from the buyer and the seller attached to this proposal. |
Union field negotiating_buyer . The buyer who negotiates this proposal with publishers. Can be either a buyer or client. negotiating_buyer can be only one of the following: |
|
buyer |
Output only. Refers to a buyer in [The Realtime-bidding API][google.ads.realtimebidding.v1.Buyer]. Format: |
client |
Output only. Refers to a |
State
Possible state for a proposal
Enums | |
---|---|
STATE_UNSPECIFIED |
Unspecified proposal state |
BUYER_REVIEW_REQUESTED |
When a proposal is waiting for buyer to review. |
SELLER_REVIEW_REQUESTED |
When the proposal is waiting for the seller to review. |
BUYER_ACCEPTANCE_REQUESTED |
When the seller accepted the proposal and sent it to the buyer for review. |
FINALIZED |
When both buyer and seller has accepted the proposal |
TERMINATED |
When either buyer or seller has cancelled the proposal |
PrivateData
Buyers are allowed to store certain types of private data in a proposal or deal.
JSON representation |
---|
{ "referenceId": string } |
Fields | |
---|---|
referenceId |
A buyer specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units). |
Contact
Contains information on how a buyer or seller can be reached.
JSON representation |
---|
{ "email": string, "displayName": string } |
Fields | |
---|---|
email |
Email address for the contact. |
displayName |
The displayName of the contact. |
Note
A text note attached to the proposal to facilitate the communication between buyers and sellers.
JSON representation |
---|
{
"createTime": string,
"creatorRole": enum ( |
Fields | |
---|---|
createTime |
Output only. When this note was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
creatorRole |
Output only. The role who created the note. |
note |
The text of the note. Maximum length is 1024 characters. |
Methods |
|
---|---|
|
Accepts the proposal at the given revision number. |
|
Creates a note for this proposal and sends to the seller. |
|
Cancels an ongoing negotiation on a proposal. |
|
Gets a proposal using its resource name. |
|
Lists proposals. |
|
Updates the proposal at the given revision number. |
|
Sends a request for proposal (RFP) to a publisher to initiate the negotiation regarding certain inventory. |