Deal class

A deal represents a segment of inventory for displaying ads on.

A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.

Constructors

Deal({String? availableEndTime, String? availableStartTime, PrivateData? buyerPrivateData, String? createProductId, String? createProductRevision, String? createTime, String? creativePreApprovalPolicy, CreativeRestrictions? creativeRestrictions, String? creativeSafeFrameCompatibility, String? dealId, DealServingMetadata? dealServingMetadata, DealTerms? dealTerms, DeliveryControl? deliveryControl, String? description, String? displayName, String? externalDealId, bool? isSetupComplete, String? programmaticCreativeSource, String? proposalId, List<ContactInformation>? sellerContacts, String? syndicationProduct, MarketplaceTargeting? targeting, List<TargetingCriteria>? targetingCriterion, String? updateTime, String? webPropertyCode})
Deal.fromJson(Map json_)

Properties

availableEndTime String?
Proposed flight end time of the deal.
getter/setter pair
availableStartTime String?
Proposed flight start time of the deal.
getter/setter pair
buyerPrivateData PrivateData?
Buyer private data (hidden from seller).
getter/setter pair
createProductId String?
The product ID from which this deal was created.
getter/setter pair
createProductRevision String?
Revision number of the product that the deal was created from.
getter/setter pair
createTime String?
The time of the deal creation.
getter/setter pair
creativePreApprovalPolicy String?
Specifies the creative pre-approval policy.
getter/setter pair
creativeRestrictions CreativeRestrictions?
Restricitions about the creatives associated with the deal (for example, size) This is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.
getter/setter pair
creativeSafeFrameCompatibility String?
Specifies whether the creative is safeFrame compatible.
getter/setter pair
dealId String?
A unique deal ID for the deal (server-assigned).
getter/setter pair
dealServingMetadata DealServingMetadata?
Metadata about the serving status of this deal.
getter/setter pair
dealTerms DealTerms?
The negotiable terms of the deal.
getter/setter pair
deliveryControl DeliveryControl?
The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable.
getter/setter pair
description String?
Description for the deal terms.
getter/setter pair
displayName String?
The name of the deal.
getter/setter pair
externalDealId String?
The external deal ID assigned to this deal once the deal is finalized.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isSetupComplete bool?
True, if the buyside inventory setup is complete for this deal.
getter/setter pair
programmaticCreativeSource String?
Specifies the creative source for programmatic deals.
getter/setter pair
proposalId String?
ID of the proposal that this deal is part of.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sellerContacts List<ContactInformation>?
Seller contact information for the deal.
getter/setter pair
syndicationProduct String?
The syndication product associated with the deal.
getter/setter pair
targeting MarketplaceTargeting?
Specifies the subset of inventory targeted by the deal.
getter/setter pair
targetingCriterion List<TargetingCriteria>?
The shared targeting visible to buyers and sellers.
getter/setter pair
updateTime String?
The time when the deal was last updated.
getter/setter pair
webPropertyCode String?
The web property code for the seller copied over from the product.
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