GeostoreComposableItemProto

AI Overview😉

  • The potential purpose of this module is to provide a structured way to represent and store information about products or items, including their attributes, prices, and media, in order to facilitate their display and ranking in search results.
  • This module could impact search results by influencing the ordering and prominence of items in search results, based on the rankingHint score provided by data sources. This could lead to more relevant and useful results being displayed more prominently, and less relevant results being displayed less prominently.
  • A website may change things to be more favorable for this function by ensuring that their product information is accurately and completely represented in the GeostoreComposableItemProto format, including providing relevant media, prices, and ranking hints. This could involve optimizing their product data feeds, ensuring consistency in their product information, and providing high-quality media and descriptive content.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.GeostoreComposableItemProto (google_api_content_warehouse v0.4.0)

Generic item proto. This is intended to have only certain aspects filled (e.g. photo only, name + price). Valid combinations of properties are enforced by linters.

Attributes

  • callToAction (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreCallToActionProto.t, default: nil) - Call to action for the individual product.
  • jobMetadata (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreJobMetadata.t, default: nil) -
  • media (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreMediaItemProto.t), default: nil) - Any photos describing this item.
  • nameInfo (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostorePriceListNameInfoProto.t), default: nil) - The repeated name_info field is for price list sections listed in multiple languages. At least one name_info containing id must be specified. There should be at most one name_info for any given language. When representing a job item, there should be exactly one name_info specified.
  • offered (type: String.t, default: nil) - Represents if an item is offered at a business. For TYPE_JOB, this represents if this job is offered by the corresponding business
  • price (type: GoogleApi.ContentWarehouse.V1.Model.GeostorePriceRangeProto.t, default: nil) - Price of the item. There should be at most one price for any given currency.
  • priceFormat (type: String.t, default: nil) - Represents which price format is being used by this item, which determines the usage/meaning of the “price” field above. Optional – the default value is legal and safe (represents no price if the “price” field is unset).
  • rankingHint (type: number(), default: nil) - Numerical score which can be provided by data sources to indicate preferred item ordering. This is purely a hint – we are not required to followed it if we have a different order we think is better. Higher scores represent items that should be shown more prominently/earlier. Optional.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreComposableItemProto{
  callToAction:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreCallToActionProto.t() | nil,
  jobMetadata:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreJobMetadata.t() | nil,
  media: [GoogleApi.ContentWarehouse.V1.Model.GeostoreMediaItemProto.t()] | nil,
  nameInfo:
    [GoogleApi.ContentWarehouse.V1.Model.GeostorePriceListNameInfoProto.t()]
    | nil,
  offered: String.t() | nil,
  price: GoogleApi.ContentWarehouse.V1.Model.GeostorePriceRangeProto.t() | nil,
  priceFormat: String.t() | nil,
  rankingHint: number() | nil
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.