Class Product
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.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.AdExchangeBuyer.v1_4.Data
Assembly: Google.Apis.AdExchangeBuyer.v1_4.dll
Syntax
public class Product : IDirectResponseSchema
Properties
BilledBuyer
The billed buyer corresponding to the buyer that created the offer. (readonly, except on create)
Declaration
[JsonProperty("billedBuyer")]
public virtual Buyer BilledBuyer { get; set; }
Property Value
Type | Description |
---|---|
Buyer |
Buyer
The buyer that created the offer if this is a buyer initiated offer (readonly, except on create)
Declaration
[JsonProperty("buyer")]
public virtual Buyer Buyer { get; set; }
Property Value
Type | Description |
---|---|
Buyer |
CreationTimeMs
Creation time in ms. since epoch (readonly)
Declaration
[JsonProperty("creationTimeMs")]
public virtual long? CreationTimeMs { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
CreatorContacts
Optional contact information for the creator of this product. (buyer-readonly)
Declaration
[JsonProperty("creatorContacts")]
public virtual IList<ContactInformation> CreatorContacts { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ContactInformation> |
CreatorRole
The role that created the offer. Set to BUYER for buyer initiated offers.
Declaration
[JsonProperty("creatorRole")]
public virtual string CreatorRole { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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.
Declaration
[JsonProperty("deliveryControl")]
public virtual DeliveryControl DeliveryControl { get; set; }
Property Value
Type | Description |
---|---|
DeliveryControl |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FlightEndTimeMs
The proposed end time for the deal (ms since epoch) (buyer-readonly)
Declaration
[JsonProperty("flightEndTimeMs")]
public virtual long? FlightEndTimeMs { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
FlightStartTimeMs
Inventory availability dates. (times are in ms since epoch) The granularity is generally in the order of seconds. (buyer-readonly)
Declaration
[JsonProperty("flightStartTimeMs")]
public virtual long? FlightStartTimeMs { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
HasCreatorSignedOff
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.
Declaration
[JsonProperty("hasCreatorSignedOff")]
public virtual bool? HasCreatorSignedOff { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
InventorySource
What exchange will provide this inventory (readonly, except on create).
Declaration
[JsonProperty("inventorySource")]
public virtual string InventorySource { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Kind
Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#product".
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Labels
Optional List of labels for the product (optional, buyer-readonly).
Declaration
[JsonProperty("labels")]
public virtual IList<MarketplaceLabel> Labels { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<MarketplaceLabel> |
LastUpdateTimeMs
Time of last update in ms. since epoch (readonly)
Declaration
[JsonProperty("lastUpdateTimeMs")]
public virtual long? LastUpdateTimeMs { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
LegacyOfferId
Optional legacy offer id if this offer is a preferred deal offer.
Declaration
[JsonProperty("legacyOfferId")]
public virtual string LegacyOfferId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MarketplacePublisherProfileId
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.
Declaration
[JsonProperty("marketplacePublisherProfileId")]
public virtual string MarketplacePublisherProfileId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
The name for this product as set by the seller. (buyer-readonly)
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PrivateAuctionId
Optional private auction id if this offer is a private auction offer.
Declaration
[JsonProperty("privateAuctionId")]
public virtual string PrivateAuctionId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ProductId
The unique id for the product (readonly)
Declaration
[JsonProperty("productId")]
public virtual string ProductId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PublisherProfileId
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.
Declaration
[JsonProperty("publisherProfileId")]
public virtual string PublisherProfileId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PublisherProvidedForecast
Publisher self-provided forecast information.
Declaration
[JsonProperty("publisherProvidedForecast")]
public virtual PublisherProvidedForecast PublisherProvidedForecast { get; set; }
Property Value
Type | Description |
---|---|
PublisherProvidedForecast |
RevisionNumber
The revision number of the product. (readonly)
Declaration
[JsonProperty("revisionNumber")]
public virtual long? RevisionNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Seller
Information about the seller that created this product (readonly, except on create)
Declaration
[JsonProperty("seller")]
public virtual Seller Seller { get; set; }
Property Value
Type | Description |
---|---|
Seller |
SharedTargetings
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)
Declaration
[JsonProperty("sharedTargetings")]
public virtual IList<SharedTargeting> SharedTargetings { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<SharedTargeting> |
State
The state of the product. (buyer-readonly)
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SyndicationProduct
The syndication product associated with the deal. (readonly, except on create)
Declaration
[JsonProperty("syndicationProduct")]
public virtual string SyndicationProduct { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Terms
The negotiable terms of the deal (buyer-readonly)
Declaration
[JsonProperty("terms")]
public virtual DealTerms Terms { get; set; }
Property Value
Type | Description |
---|---|
DealTerms |
WebPropertyCode
The web property code for the seller. This field is meant to be copied over as is when creating deals.
Declaration
[JsonProperty("webPropertyCode")]
public virtual string WebPropertyCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |