google_api_ad_exchange_buyer v0.11.0 GoogleApi.AdExchangeBuyer.V14.Model.Product View Source

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.

Attributes

  • billedBuyer (Buyer): The billed buyer corresponding to the buyer that created the offer. (readonly, except on create) Defaults to: null.
  • buyer (Buyer): The buyer that created the offer if this is a buyer initiated offer (readonly, except on create) Defaults to: null.
  • creationTimeMs (String.t): Creation time in ms. since epoch (readonly) Defaults to: null.
  • creatorContacts ([ContactInformation]): Optional contact information for the creator of this product. (buyer-readonly) Defaults to: null.
  • creatorRole (String.t): The role that created the offer. Set to BUYER for buyer initiated offers. Defaults to: null.
  • 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. Defaults to: null.
  • flightEndTimeMs (String.t): The proposed end time for the deal (ms since epoch) (buyer-readonly) Defaults to: null.
  • flightStartTimeMs (String.t): Inventory availability dates. (times are in ms since epoch) The granularity is generally in the order of seconds. (buyer-readonly) Defaults to: null.
  • hasCreatorSignedOff (boolean()): 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. Defaults to: null.
  • inventorySource (String.t): What exchange will provide this inventory (readonly, except on create). Defaults to: null.
  • kind (String.t): Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#product". Defaults to: null.
  • labels ([MarketplaceLabel]): Optional List of labels for the product (optional, buyer-readonly). Defaults to: null.
  • lastUpdateTimeMs (String.t): Time of last update in ms. since epoch (readonly) Defaults to: null.
  • legacyOfferId (String.t): Optional legacy offer id if this offer is a preferred deal offer. Defaults to: null.
  • marketplacePublisherProfileId (String.t): 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. Defaults to: null.
  • name (String.t): The name for this product as set by the seller. (buyer-readonly) Defaults to: null.
  • privateAuctionId (String.t): Optional private auction id if this offer is a private auction offer. Defaults to: null.
  • productId (String.t): The unique id for the product (readonly) Defaults to: null.
  • publisherProfileId (String.t): 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. Defaults to: null.
  • publisherProvidedForecast (PublisherProvidedForecast): Publisher self-provided forecast information. Defaults to: null.
  • revisionNumber (String.t): The revision number of the product. (readonly) Defaults to: null.
  • seller (Seller): Information about the seller that created this product (readonly, except on create) Defaults to: null.
  • sharedTargetings ([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) Defaults to: null.
  • state (String.t): The state of the product. (buyer-readonly) Defaults to: null.
  • syndicationProduct (String.t): The syndication product associated with the deal. (readonly, except on create) Defaults to: null.
  • terms (DealTerms): The negotiable terms of the deal (buyer-readonly) Defaults to: null.
  • webPropertyCode (String.t): The web property code for the seller. This field is meant to be copied over as is when creating deals. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.AdExchangeBuyer.V14.Model.Product{
  billedBuyer: GoogleApi.AdExchangeBuyer.V14.Model.Buyer.t(),
  buyer: GoogleApi.AdExchangeBuyer.V14.Model.Buyer.t(),
  creationTimeMs: any(),
  creatorContacts: [GoogleApi.AdExchangeBuyer.V14.Model.ContactInformation.t()],
  creatorRole: any(),
  deliveryControl: GoogleApi.AdExchangeBuyer.V14.Model.DeliveryControl.t(),
  flightEndTimeMs: any(),
  flightStartTimeMs: any(),
  hasCreatorSignedOff: any(),
  inventorySource: any(),
  kind: any(),
  labels: [GoogleApi.AdExchangeBuyer.V14.Model.MarketplaceLabel.t()],
  lastUpdateTimeMs: any(),
  legacyOfferId: any(),
  marketplacePublisherProfileId: any(),
  name: any(),
  privateAuctionId: any(),
  productId: any(),
  publisherProfileId: any(),
  publisherProvidedForecast:
    GoogleApi.AdExchangeBuyer.V14.Model.PublisherProvidedForecast.t(),
  revisionNumber: any(),
  seller: GoogleApi.AdExchangeBuyer.V14.Model.Seller.t(),
  sharedTargetings: [GoogleApi.AdExchangeBuyer.V14.Model.SharedTargeting.t()],
  state: any(),
  syndicationProduct: any(),
  terms: GoogleApi.AdExchangeBuyer.V14.Model.DealTerms.t(),
  webPropertyCode: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.