Product class

A product is segment of inventory that a seller wishes to sell. It is associated with certain terms and targeting information which helps buyer know more about the inventory. Each field in a product can have one of the following setting:

(readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.

Constructors

Product()
Product.fromJson(Map _json)

Properties

billedBuyer Buyer
The billed buyer corresponding to the buyer that created the offer. (readonly, except on create)
read / write
buyer Buyer
The buyer that created the offer if this is a buyer initiated offer (readonly, except on create)
read / write
creationTimeMs String
Creation time in ms. since epoch (readonly)
read / write
creatorContacts List<ContactInformation>
Optional contact information for the creator of this product. (buyer-readonly)
read / write
creatorRole String
The role that created the offer. Set to BUYER for buyer initiated offers.
read / write
deliveryControl DeliveryControl
The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension.
read / write
flightEndTimeMs String
The proposed end time for the deal (ms since epoch) (buyer-readonly)
read / write
flightStartTimeMs String
Inventory availability dates. (times are in ms since epoch) The granularity is generally in the order of seconds. (buyer-readonly)
read / write
hasCreatorSignedOff bool
If the creator has already signed off on the product, then the buyer can finalize the deal by accepting the product as is. When copying to a proposal, if any of the terms are changed, then auto_finalize is automatically set to false.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inventorySource String
What exchange will provide this inventory (readonly, except on create).
read / write
kind String
Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#product".
read / write
labels List<MarketplaceLabel>
Optional List of labels for the product (optional, buyer-readonly).
read / write
lastUpdateTimeMs String
Time of last update in ms. since epoch (readonly)
read / write
legacyOfferId String
Optional legacy offer id if this offer is a preferred deal offer.
read / write
marketplacePublisherProfileId String
Marketplace publisher profile Id. This Id differs from the regular publisher_profile_id in that 1. This is a new id, the old Id will be deprecated in 2017. 2. This id uniquely identifies a publisher profile by itself.
read / write
name String
The name for this product as set by the seller. (buyer-readonly)
read / write
privateAuctionId String
Optional private auction id if this offer is a private auction offer.
read / write
productId String
The unique id for the product (readonly)
read / write
publisherProfileId String
Id of the publisher profile for a given seller. A (seller.account_id, publisher_profile_id) pair uniquely identifies a publisher profile. Buyers can call the PublisherProfiles::List endpoint to get a list of publisher profiles for a given seller.
read / write
publisherProvidedForecast PublisherProvidedForecast
Publisher self-provided forecast information.
read / write
revisionNumber String
The revision number of the product. (readonly)
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
seller Seller
Information about the seller that created this product (readonly, except on create)
read / write
sharedTargetings List<SharedTargeting>
Targeting that is shared between the buyer and the seller. Each targeting criteria has a specified key and for each key there is a list of inclusion value or exclusion values. (buyer-readonly)
read / write
state String
The state of the product. (buyer-readonly)
read / write
syndicationProduct String
The syndication product associated with the deal. (readonly, except on create)
read / write
terms DealTerms
The negotiable terms of the deal (buyer-readonly)
read / write
webPropertyCode String
The web property code for the seller. This field is meant to be copied over as is when creating deals.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

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