Skip to main content

proposals

Overview

Nameproposals
TypeResource
Idgoogledevelopers.authorizedbuyersmarketplace.proposals

Fields

NameDatatypeDescription
namestringImmutable. The name of the proposal serving as a unique identifier. Format: buyers/{accountId}/proposals/{proposalId}
buyerPrivateDataobjectBuyers are allowed to store certain types of private data in a proposal or deal.
pausingConsentedbooleanWhether pausing is allowed for the proposal. This is a negotiable term between buyers and publishers.
buyerstringOutput only. Refers to a buyer in The Realtime-bidding API. Format: buyers/{buyerAccountId}
clientstringOutput only. Refers to a Client. Format: buyers/{buyerAccountId}/clients/{clientAccountid}
termsAndConditionsstringOutput 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.
sellerContactsarrayOutput only. Contact information for the seller.
isRenegotiatingbooleanOutput only. True if the proposal was previously finalized and is now being renegotiated.
notesarrayA list of notes from the buyer and the seller attached to this proposal.
billedBuyerstringOutput only. When the client field is populated, this field refers to the buyer who creates and manages the client buyer and gets billed on behalf of the client buyer; when the buyer field is populated, this field is the same value as buyer. Format : buyers/{buyerAccountId}
originatorRolestringOutput only. Indicates whether the buyer/seller created the proposal.
lastUpdaterOrCommentorRolestringOutput only. The role of the last user that either updated the proposal or left a comment.
buyerContactsarrayContact information for the buyer.
displayNamestringOutput 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.
proposalRevisionstringOutput 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.
statestringOutput only. Indicates the state of the proposal.
dealTypestringOutput only. Type of deal the proposal contains.
publisherProfilestringImmutable. Reference to the seller on the proposal. Format: buyers/{buyerAccountId}/publisherProfiles/{publisherProfileId} Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
updateTimestringOutput only. The time when the proposal was last revised.

Methods

NameAccessible byRequired ParamsDescription
buyers_proposals_getSELECTbuyersId, proposalsIdGets a proposal using its name. The proposal is returned at most recent revision. revision.
buyers_proposals_listSELECTbuyersIdLists proposals. A filter expression (list filter syntax) may be specified to filter the results. This will not list finalized versions of proposals that are being renegotiated; to retrieve these use the finalizedProposals resource.
buyers_proposals_acceptEXECbuyersId, proposalsIdAccepts the proposal at the given revision number. If the revision number in the request is behind the latest from the server, an error message will be returned. This call updates the Proposal.state from BUYER_ACCEPTANCE_REQUESTED to FINALIZED; it has no side effect if the Proposal.state is already FINALIZED and throws exception if the Proposal.state is not either BUYER_ACCEPTANCE_REQUESTED or FINALIZED. Accepting a proposal means the buyer understands and accepts the Proposal.terms_and_conditions proposed by the seller.
buyers_proposals_cancelNegotiationEXECbuyersId, proposalsIdCancels an ongoing negotiation on a proposal. This does not cancel or end serving for the deals if the proposal has been finalized. If the proposal has not been finalized before, calling this method will set the Proposal.state to TERMINATED and increment the Proposal.proposal_revision. If the proposal has been finalized before and is under renegotiation now, calling this method will reset the Proposal.state to FINALIZED and increment the Proposal.proposal_revision. This method does not support private auction proposals whose Proposal.deal_type is 'PRIVATE_AUCTION'.
buyers_proposals_patchEXECbuyersId, proposalsIdUpdates the proposal at the given revision number. If the revision number in the request is behind the latest from the server, an error message will be returned. See FieldMask for how to use FieldMask. Only fields specified in the UpdateProposalRequest.update_mask will be updated; Fields noted as 'Immutable' or 'Output only' yet specified in the UpdateProposalRequest.update_mask will be ignored and left unchanged. Updating a private auction proposal is not allowed and will result in an error.
buyers_proposals_sendRfpEXECbuyersIdSends a request for proposal (RFP) to a publisher to initiate the negotiation regarding certain inventory. In the RFP, buyers can specify the deal type, deal terms, start and end dates, targeting, and a message to the publisher. Once the RFP is sent, a proposal in SELLER_REVIEW_REQUESTED state will be created and returned in the response. The publisher may review your request and respond with detailed deals in the proposal.