View Source GoogleApi.ContentWarehouse.V1.Model.QualityShoppingShoppingAttachmentOffer (google_api_content_warehouse v0.3.0)

Attributes

  • condition (type: String.t, default: nil) -
  • controlType (type: String.t, default: nil) -
  • fingerprintOfOfferUrls (type: list(String.t), default: nil) - fingerprint of original offer item_urland mobile_offer_url (if present) to be able to understand if offer data came from different url.
  • gtinValue (type: list(String.t), default: nil) - Global trade item number (GTIN).
  • imageId (type: list(String.t), default: nil) - image_id is sorted and distinct for efficient search during serving.
  • inferredImages (type: list(GoogleApi.ContentWarehouse.V1.Model.ShoppingWebentityShoppingAnnotationInferredImage.t), default: nil) - inferred_images are sorted by inferred_image_id for efficient search during serving.
  • isLensBuildable (type: boolean(), default: nil) - Is the offer Lens buildable. The corresponding field in Shopping Annotation is SurfaceSelection.
  • matchingType (type: String.t, default: nil) - information about methods used to match offer with indexed url. See shopping_annotation.proto
  • merchantAccountId (type: String.t, default: nil) - account_id of the merchant in shopping systems.
  • merchantItemId (type: String.t, default: nil) - merchant_item_id is meaningless without the merchant_account_id.
  • nonDisplayableBrandMerchantRelationship (type: String.t, default: nil) - direct to consumer brand merchant relationship
  • nonDisplayableCurrency (type: String.t, default: nil) -
  • nonDisplayableOrganicScoreMillis (type: integer(), default: nil) - Normalized riskiness score for Organic destinations. It's in range [1,1000] with 1 being the worst score and 1000 being the best.
  • nonDisplayableStaleAvailability (type: GoogleApi.ContentWarehouse.V1.Model.ShoppingWebentityShoppingAnnotationOfferAvailabilityInfo.t, default: nil) - This is experimental, not filled in yet and not intended to be used. Please contact buyable-corpus@ before considering using this field.
  • offerDocid (type: String.t, default: nil) -
  • refType (type: String.t, default: nil) -
  • soriVersionId (type: GoogleApi.ContentWarehouse.V1.Model.ShoppingWebentityShoppingAnnotationSoriVersionId.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.QualityShoppingShoppingAttachmentOffer{
    condition: String.t() | nil,
    controlType: String.t() | nil,
    fingerprintOfOfferUrls: [String.t()] | nil,
    gtinValue: [String.t()] | nil,
    imageId: [String.t()] | nil,
    inferredImages:
      [
        GoogleApi.ContentWarehouse.V1.Model.ShoppingWebentityShoppingAnnotationInferredImage.t()
      ]
      | nil,
    isLensBuildable: boolean() | nil,
    matchingType: String.t() | nil,
    merchantAccountId: String.t() | nil,
    merchantItemId: String.t() | nil,
    nonDisplayableBrandMerchantRelationship: String.t() | nil,
    nonDisplayableCurrency: String.t() | nil,
    nonDisplayableOrganicScoreMillis: integer() | nil,
    nonDisplayableStaleAvailability:
      GoogleApi.ContentWarehouse.V1.Model.ShoppingWebentityShoppingAnnotationOfferAvailabilityInfo.t()
      | nil,
    offerDocid: String.t() | nil,
    refType: String.t() | nil,
    soriVersionId:
      GoogleApi.ContentWarehouse.V1.Model.ShoppingWebentityShoppingAnnotationSoriVersionId.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.