class Google::Apis::AuthorizedbuyersmarketplaceV1::FinalizedDeal

A finalized deal is a snapshot of the deal when both buyer and seller accept the deal. The buyer or seller can update the deal after it’s been finalized and renegotiate on the deal targeting, terms and other fields, while at the same time the finalized snapshot of the deal can still be retrieved using this API. The finalized deal contains a copy of the deal as it existed when most recently finalized, as well as fields related to deal serving such as pause/ resume status, RTB metrics, and more.

Attributes

deal[RW]

A deal represents a segment of inventory for displaying ads that contains the terms and targeting information that is used for serving as well as the deal stats and status. Note: A proposal may contain multiple deals. Corresponds to the JSON property ‘deal` @return [Google::Apis::AuthorizedbuyersmarketplaceV1::Deal]

deal_pausing_info[RW]

Information related to deal pausing. Corresponds to the JSON property ‘dealPausingInfo` @return [Google::Apis::AuthorizedbuyersmarketplaceV1::DealPausingInfo]

deal_serving_status[RW]

Serving status of the deal. Corresponds to the JSON property ‘dealServingStatus` @return [String]

name[RW]

The resource name of the finalized deal. Format: ‘buyers/`accountId`/ finalizeddeals/`finalizedDealId“ Corresponds to the JSON property `name` @return [String]

ready_to_serve[RW]

Whether the Programmatic Guaranteed deal is ready for serving. Corresponds to the JSON property ‘readyToServe` @return [Boolean]

ready_to_serve?[RW]

Whether the Programmatic Guaranteed deal is ready for serving. Corresponds to the JSON property ‘readyToServe` @return [Boolean]

rtb_metrics[RW]

Real-time bidding metrics. For what each metric means refer to [Report metrics] (support.google.com/adxbuyer/answer/6115195#report-metrics) Corresponds to the JSON property ‘rtbMetrics` @return [Google::Apis::AuthorizedbuyersmarketplaceV1::RtbMetrics]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 847
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 852
def update!(**args)
  @deal = args[:deal] if args.key?(:deal)
  @deal_pausing_info = args[:deal_pausing_info] if args.key?(:deal_pausing_info)
  @deal_serving_status = args[:deal_serving_status] if args.key?(:deal_serving_status)
  @name = args[:name] if args.key?(:name)
  @ready_to_serve = args[:ready_to_serve] if args.key?(:ready_to_serve)
  @rtb_metrics = args[:rtb_metrics] if args.key?(:rtb_metrics)
end