View Source GoogleApi.Content.V21.Model.ProductView (google_api_content v0.67.1)

Product fields. Values are only set for fields requested explicitly in the request's search query.

Attributes

  • aggregatedDestinationStatus (type: String.t, default: nil) - Aggregated destination status.
  • availability (type: String.t, default: nil) - Availability of the product.
  • brand (type: String.t, default: nil) - Brand of the product.
  • categoryL1 (type: String.t, default: nil) - First level of the product category in Google's product taxonomy.
  • categoryL2 (type: String.t, default: nil) - Second level of the product category in Google's product taxonomy.
  • categoryL3 (type: String.t, default: nil) - Third level of the product category in Google's product taxonomy.
  • categoryL4 (type: String.t, default: nil) - Fourth level of the product category in Google's product taxonomy.
  • categoryL5 (type: String.t, default: nil) - Fifth level of the product category in Google's product taxonomy.
  • channel (type: String.t, default: nil) - Channel of the product (online versus local).
  • clickPotential (type: String.t, default: nil) - Estimated performance potential compared to highest performing products of the merchant.
  • clickPotentialRank (type: String.t, default: nil) - Rank of the product based on its click potential. A product with click_potential_rank 1 has the highest click potential among the merchant's products that fulfill the search query conditions.
  • condition (type: String.t, default: nil) - Condition of the product.
  • creationTime (type: DateTime.t, default: nil) - The time the merchant created the product in timestamp seconds.
  • currencyCode (type: String.t, default: nil) - Product price currency code (for example, ISO 4217). Absent if product price is not available.
  • expirationDate (type: GoogleApi.Content.V21.Model.Date.t, default: nil) - Expiration date for the product. Specified on insertion.
  • gtin (type: list(String.t), default: nil) - GTIN of the product.
  • id (type: String.t, default: nil) - The REST ID of the product, in the form of channel:contentLanguage:targetCountry:offerId. Content API methods that operate on products take this as their productId parameter. Should always be included in the SELECT clause.
  • itemGroupId (type: String.t, default: nil) - Item group ID provided by the merchant for grouping variants together.
  • itemIssues (type: list(GoogleApi.Content.V21.Model.ProductViewItemIssue.t), default: nil) - List of item issues for the product.
  • languageCode (type: String.t, default: nil) - Language code of the product in BCP 47 format.
  • offerId (type: String.t, default: nil) - Merchant-provided id of the product.
  • priceMicros (type: String.t, default: nil) - Product price specified as micros (1 millionth of a standard unit, 1 USD = 1000000 micros) in the product currency. Absent in case the information about the price of the product is not available.
  • productTypeL1 (type: String.t, default: nil) - First level of the product type in merchant's own product taxonomy.
  • productTypeL2 (type: String.t, default: nil) - Second level of the product type in merchant's own product taxonomy.
  • productTypeL3 (type: String.t, default: nil) - Third level of the product type in merchant's own product taxonomy.
  • productTypeL4 (type: String.t, default: nil) - Fourth level of the product type in merchant's own product taxonomy.
  • productTypeL5 (type: String.t, default: nil) - Fifth level of the product type in merchant's own product taxonomy.
  • shippingLabel (type: String.t, default: nil) - The normalized shipping label specified in the feed
  • title (type: String.t, default: nil) - Title of the product.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.ProductView{
  aggregatedDestinationStatus: String.t() | nil,
  availability: String.t() | nil,
  brand: String.t() | nil,
  categoryL1: String.t() | nil,
  categoryL2: String.t() | nil,
  categoryL3: String.t() | nil,
  categoryL4: String.t() | nil,
  categoryL5: String.t() | nil,
  channel: String.t() | nil,
  clickPotential: String.t() | nil,
  clickPotentialRank: String.t() | nil,
  condition: String.t() | nil,
  creationTime: DateTime.t() | nil,
  currencyCode: String.t() | nil,
  expirationDate: GoogleApi.Content.V21.Model.Date.t() | nil,
  gtin: [String.t()] | nil,
  id: String.t() | nil,
  itemGroupId: String.t() | nil,
  itemIssues: [GoogleApi.Content.V21.Model.ProductViewItemIssue.t()] | nil,
  languageCode: String.t() | nil,
  offerId: String.t() | nil,
  priceMicros: String.t() | nil,
  productTypeL1: String.t() | nil,
  productTypeL2: String.t() | nil,
  productTypeL3: String.t() | nil,
  productTypeL4: String.t() | nil,
  productTypeL5: String.t() | nil,
  shippingLabel: String.t() | nil,
  title: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.