class Google::Apis::Adexchangebuyer2V2beta1::Proposal
Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: You can't update, create, or otherwise modify Private Auction deals through the API. Fields are updatable unless noted otherwise.
Attributes
Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. Corresponds to the JSON property `billedBuyer` @return [Google::Apis::Adexchangebuyer2V2beta1::Buyer]
Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. Corresponds to the JSON property `buyer` @return [Google::Apis::Adexchangebuyer2V2beta1::Buyer]
Contact information for the buyer. Corresponds to the JSON property `buyerContacts` @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ContactInformation>]
Buyers are allowed to store certain types of private data in a proposal/deal. Corresponds to the JSON property `buyerPrivateData` @return [Google::Apis::Adexchangebuyer2V2beta1::PrivateData]
The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms
), there will only be one deal. Corresponds to the JSON property `deals` @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Deal>]
The name for the proposal. Corresponds to the JSON property `displayName` @return [String]
Output only. True if the proposal is being renegotiated. Corresponds to the JSON property `isRenegotiating` @return [Boolean]
Output only. True if the proposal is being renegotiated. Corresponds to the JSON property `isRenegotiating` @return [Boolean]
Output only. True, if the buyside inventory setup is complete for this proposal. Corresponds to the JSON property `isSetupComplete` @return [Boolean]
Output only. True, if the buyside inventory setup is complete for this proposal. Corresponds to the JSON property `isSetupComplete` @return [Boolean]
Output only. The role of the last user that either updated the proposal or left a comment. Corresponds to the JSON property `lastUpdaterOrCommentorRole` @return [String]
Output only. The notes associated with this proposal. Corresponds to the JSON property `notes` @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Note>]
Output only. Indicates whether the buyer/seller created the proposal. Corresponds to the JSON property `originatorRole` @return [String]
Output only. Private auction ID if this proposal is a private auction proposal. Corresponds to the JSON property `privateAuctionId` @return [String]
Output only. The unique ID of the proposal. Corresponds to the JSON property `proposalId` @return [String]
Output only. The revision number for the proposal. Each update to the proposal or the 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. Corresponds to the JSON property `proposalRevision` @return [Fixnum]
Output only. The current state of the proposal. Corresponds to the JSON property `proposalState` @return [String]
Represents a seller of inventory. Each seller is identified by a unique Ad Manager account ID. Corresponds to the JSON property `seller` @return [Google::Apis::Adexchangebuyer2V2beta1::Seller]
Output only. Contact information for the seller. Corresponds to the JSON property `sellerContacts` @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ContactInformation>]
Output only. The terms and conditions set by the publisher for this proposal. Corresponds to the JSON property `termsAndConditions` @return [String]
Output only. The time when the proposal was last revised. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 3384 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 3389 def update!(**args) @billed_buyer = args[:billed_buyer] if args.key?(:billed_buyer) @buyer = args[:buyer] if args.key?(:buyer) @buyer_contacts = args[:buyer_contacts] if args.key?(:buyer_contacts) @buyer_private_data = args[:buyer_private_data] if args.key?(:buyer_private_data) @deals = args[:deals] if args.key?(:deals) @display_name = args[:display_name] if args.key?(:display_name) @is_renegotiating = args[:is_renegotiating] if args.key?(:is_renegotiating) @is_setup_complete = args[:is_setup_complete] if args.key?(:is_setup_complete) @last_updater_or_commentor_role = args[:last_updater_or_commentor_role] if args.key?(:last_updater_or_commentor_role) @notes = args[:notes] if args.key?(:notes) @originator_role = args[:originator_role] if args.key?(:originator_role) @private_auction_id = args[:private_auction_id] if args.key?(:private_auction_id) @proposal_id = args[:proposal_id] if args.key?(:proposal_id) @proposal_revision = args[:proposal_revision] if args.key?(:proposal_revision) @proposal_state = args[:proposal_state] if args.key?(:proposal_state) @seller = args[:seller] if args.key?(:seller) @seller_contacts = args[:seller_contacts] if args.key?(:seller_contacts) @terms_and_conditions = args[:terms_and_conditions] if args.key?(:terms_and_conditions) @update_time = args[:update_time] if args.key?(:update_time) end