GoogleApi.AdExchangeBuyer.V2beta1.Model.Product (google_api_ad_exchange_buyer v0.36.0) View Source

Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. A product is a segment of inventory that a seller wishes to sell. It is associated with certain terms and targeting information which helps the buyer know more about the inventory.


  • availableEndTime (type: DateTime.t, default: nil) - The proposed end time for the deal. The field will be truncated to the order of seconds during serving.
  • availableStartTime (type: DateTime.t, default: nil) - Inventory availability dates. The start time will be truncated to seconds during serving. Thus, a field specified as 3:23:34.456 (HH:mm:ss.SSS) will be truncated to 3:23:34 when serving.
  • createTime (type: DateTime.t, default: nil) - Creation time.
  • creatorContacts (type: list(GoogleApi.AdExchangeBuyer.V2beta1.Model.ContactInformation.t), default: nil) - Optional contact information for the creator of this product.
  • displayName (type: String.t, default: nil) - The display name for this product as set by the seller.
  • hasCreatorSignedOff (type: boolean(), default: nil) - 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.
  • productId (type: String.t, default: nil) - The unique ID for the product.
  • productRevision (type: String.t, default: nil) - The revision number of the product (auto-assigned by Marketplace).
  • publisherProfileId (type: String.t, default: nil) - An ID which can be used by the Publisher Profile API to get more information about the seller that created this product.
  • seller (type: GoogleApi.AdExchangeBuyer.V2beta1.Model.Seller.t, default: nil) - Information about the seller that created this product.
  • syndicationProduct (type: String.t, default: nil) - The syndication product associated with the deal.
  • targetingCriterion (type: list(GoogleApi.AdExchangeBuyer.V2beta1.Model.TargetingCriteria.t), default: nil) - Targeting that is shared between the buyer and the seller. Each targeting criterion has a specified key and for each key there is a list of inclusion value or exclusion values.
  • terms (type: GoogleApi.AdExchangeBuyer.V2beta1.Model.DealTerms.t, default: nil) - The negotiable terms of the deal.
  • updateTime (type: DateTime.t, default: nil) - Time of last update.
  • webPropertyCode (type: String.t, default: nil) - The web-property code for the seller. This needs to be copied as is when adding a new deal to a proposal.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.AdExchangeBuyer.V2beta1.Model.Product{
  availableEndTime: DateTime.t(),
  availableStartTime: DateTime.t(),
  createTime: DateTime.t(),
  creatorContacts: [
  displayName: String.t(),
  hasCreatorSignedOff: boolean(),
  productId: String.t(),
  productRevision: String.t(),
  publisherProfileId: String.t(),
  seller: GoogleApi.AdExchangeBuyer.V2beta1.Model.Seller.t(),
  syndicationProduct: String.t(),
  targetingCriterion: [
  terms: GoogleApi.AdExchangeBuyer.V2beta1.Model.DealTerms.t(),
  updateTime: DateTime.t(),
  webPropertyCode: String.t()

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.