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

Product cluster fields. A product cluster is a grouping for different offers that represent the same product. Values are only set for fields requested explicitly in the request's search query.

Attributes

  • brand (type: String.t, default: nil) - Brand of the product cluster.
  • brandInventoryStatus (type: String.t, default: nil) - Tells if there is at least one product of the brand currently IN_STOCK in your product feed across multiple countries, all products are OUT_OF_STOCK in your product feed, or NOT_IN_INVENTORY. The field doesn't take the Best Sellers report country filter into account.
  • categoryL1 (type: String.t, default: nil) - Product category (1st level) of the product cluster, represented in Google's product taxonomy.
  • categoryL2 (type: String.t, default: nil) - Product category (2nd level) of the product cluster, represented in Google's product taxonomy.
  • categoryL3 (type: String.t, default: nil) - Product category (3rd level) of the product cluster, represented in Google's product taxonomy.
  • categoryL4 (type: String.t, default: nil) - Product category (4th level) of the product cluster, represented in Google's product taxonomy.
  • categoryL5 (type: String.t, default: nil) - Product category (5th level) of the product cluster, represented in Google's product taxonomy.
  • inventoryStatus (type: String.t, default: nil) - Tells whether the product cluster is IN_STOCK in your product feed across multiple countries, OUT_OF_STOCK in your product feed, or NOT_IN_INVENTORY at all. The field doesn't take the Best Sellers report country filter into account.
  • title (type: String.t, default: nil) - Title of the product cluster.
  • variantGtins (type: list(String.t), default: nil) - GTINs of example variants of the product cluster.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.ProductCluster{
  brand: String.t() | nil,
  brandInventoryStatus: String.t() | nil,
  categoryL1: String.t() | nil,
  categoryL2: String.t() | nil,
  categoryL3: String.t() | nil,
  categoryL4: String.t() | nil,
  categoryL5: String.t() | nil,
  inventoryStatus: String.t() | nil,
  title: String.t() | nil,
  variantGtins: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.