Pinning is available for Vertex AI Search for commerce. Pinning is a serving control for that lets you specify an exact position in search results for a certain item to appear
Share
Services
## Feature
Pinning is available for Vertex AI Search for commerce. Pinning is a serving control for that lets you specify an exact position in search results for a certain item to appear.
The pinning control is created by adding a rule to the search or browse condition, which is the action field `pin_action` in the Retail API. A pin value from 1 to 120 can be applied to determine the fixed position for results matching the defined conditions. This feature is not supported for recommendations.
For more about pinning, see [Pinning controls](https://cloud.google.com/retail/docs/serving-control-rules#pinning).