Deal class

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.

Constructors

Deal({String? billedBuyer, String? buyer, String? client, String? createTime, CreativeRequirements? creativeRequirements, String? dealType, DeliveryControl? deliveryControl, String? description, String? displayName, List<String>? eligibleSeatIds, Money? estimatedGrossSpend, String? flightEndTime, String? flightStartTime, MediaPlanner? mediaPlanner, String? name, PreferredDealTerms? preferredDealTerms, PrivateAuctionTerms? privateAuctionTerms, ProgrammaticGuaranteedTerms? programmaticGuaranteedTerms, String? proposalRevision, String? publisherProfile, TimeZone? sellerTimeZone, MarketplaceTargeting? targeting, String? updateTime})
Deal.fromJson(Map json_)

Properties

billedBuyer String?
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; when the deal belongs to a media planner account, this field will be empty.
getter/setter pair
buyer String?
Refers to a buyer in Real-time Bidding API's Buyer resource.
getter/setter pair
client String?
Refers to a Client.
getter/setter pair
createTime String?
The time of the deal creation.
getter/setter pair
creativeRequirements CreativeRequirements?
Metadata about the creatives of this deal.
getter/setter pair
dealType String?
Type of deal.
getter/setter pair
deliveryControl DeliveryControl?
Specifies the pacing set by the publisher.
getter/setter pair
description String?
Free text description for the deal terms.
getter/setter pair
displayName String?
The name of the deal.
getter/setter pair
eligibleSeatIds List<String>?
If set, this field contains the list of DSP specific seat ids set by media planners that are eligible to transact on this deal.
getter/setter pair
estimatedGrossSpend Money?
Specified by buyers in request for proposal (RFP) to notify publisher the total estimated spend for the proposal.
getter/setter pair
flightEndTime String?
Proposed flight end time of the deal.
getter/setter pair
flightStartTime String?
Proposed flight start time of the deal.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mediaPlanner MediaPlanner?
Refers to a buyer in Real-time Bidding API's Buyer resource.
getter/setter pair
name String?
The unique identifier of the deal.
getter/setter pair
preferredDealTerms PreferredDealTerms?
The terms for preferred deals.
getter/setter pair
privateAuctionTerms PrivateAuctionTerms?
The terms for private auction deals.
getter/setter pair
programmaticGuaranteedTerms ProgrammaticGuaranteedTerms?
The terms for programmatic guaranteed deals.
getter/setter pair
proposalRevision String?
The revision number for the proposal and is the same value as proposal.proposal_revision.
getter/setter pair
publisherProfile String?
Reference to the seller on the deal.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sellerTimeZone TimeZone?
Time zone of the seller used to mark the boundaries of a day for daypart targeting and CPD billing.
getter/setter pair
targeting MarketplaceTargeting?
Specifies the subset of inventory targeted by the deal.
getter/setter pair
updateTime String?
The time when the deal was last updated.
getter/setter pair

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