FinalizedDeal class

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.

Constructors

FinalizedDeal({Deal? deal, DealPausingInfo? dealPausingInfo, String? dealServingStatus, String? name, bool? readyToServe, RtbMetrics? rtbMetrics})
FinalizedDeal.fromJson(Map json_)

Properties

deal Deal?
A copy of the Deal made upon finalization.
getter/setter pair
dealPausingInfo DealPausingInfo?
Information related to deal pausing for the deal.
getter/setter pair
dealServingStatus String?
Serving status of the deal. Possible string values are:
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The resource name of the finalized deal.
getter/setter pair
readyToServe bool?
Whether the Programmatic Guaranteed deal is ready for serving.
getter/setter pair
rtbMetrics RtbMetrics?
Real-time bidding metrics for this deal.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited