View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2alphaModelPageOptimizationConfig (google_api_retail v0.19.1)
The PageOptimizationConfig for model training. This determines how many panels to optimize for, and which serving configs to consider for each panel. The purpose of this model is to optimize which ServingConfig to show on which panels in way that optimizes the visitors shopping journey.
Attributes
-
pageOptimizationEventType
(type:String.t
, default:nil
) - Required. The type of UserEvent this page optimization is shown for. Each page has an associated event type - this will be the corresponding event type for the page that the page optimization model is used on. Supported types:add-to-cart
: Products being added to cart.detail-page-view
: Products detail page viewed.home-page-view
: Homepage viewedcategory-page-view
: Homepage viewed *shopping-cart-page-view
: User viewing a shopping cart.home-page-view
only allows models with typerecommended-for-you
. All other page_optimization_event_type allow all Model.types. -
panels
(type:list(GoogleApi.Retail.V2.Model.GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel.t)
, default:nil
) - Required. A list of panel configurations. Limit = 5. -
restriction
(type:String.t
, default:nil
) - Optional. How to restrict results across panels e.g. can the same ServingConfig be shown on multiple panels at once. If unspecified, default toUNIQUE_MODEL_RESTRICTION
.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2alphaModelPageOptimizationConfig{ pageOptimizationEventType: String.t() | nil, panels: [ GoogleApi.Retail.V2.Model.GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel.t() ] | nil, restriction: String.t() | nil }