Campaigns
A campaign is a named configuration of one feature on a site: it decides how that feature ranks, filters, and limits results. Each feature page covers its own settings, and this page covers what all campaigns have in common.
How It Works
Section titled “How It Works”Every feature that returns results runs through a campaign. A site can have several campaigns of the same type, each tuned differently, and each is either active or inactive.
When a widget, the Platform API, or an MCP tool asks for results, it can name a campaign by its ID. If it names none, vviinn uses the default campaign of that type. Boosting campaigns are different: they don’t answer requests themselves, but re-rank the results of the campaigns they’re linked to.
flowchart LR
A[Request from a widget,<br/>the Platform API, or MCP] --> B{Names a campaign?}
B -->|Yes| C[That campaign]
B -->|No| D[Default campaign<br/>of the type]
C --> E[Results]
D --> E
In Panel, a campaign’s ID is the last part of its page URL.
Campaign Types
Section titled “Campaign Types”| Campaign Type | What It Configures | ID in Widgets | Default Campaign |
|---|---|---|---|
| Text Search | Text Search: results for typed queries, Auto-Suggest, and Query-to-URL Mapping | TPS |
Yes |
| Visual Search | Visual Search: results for a photo | VPS |
Yes |
| Similar Products | Similar Products: substitutes for a product | VPR |
Yes, several |
| Cross-Selling | Cross-Selling: products that go with a product | VCS |
Yes, several |
| Product Data | Product Data: which attributes are predicted | — | No |
| Boosting | Boosting: one re-ranking rule, linked to Text Search or Similar Products campaigns | — | No |
The IDs appear in widget events as campaignTypeId and in the widgets’ campaign-type attribute. Your plan decides which types you can create. A type outside your plan shows as unavailable, with “This campaign type is not included in the current plan.”
The Default Campaign
Section titled “The Default Campaign”The default campaign answers every request that doesn’t name a campaign. Turn it on with Default Campaign in a campaign’s General Settings.
- Text Search and Visual Search: requests without a campaign use the default campaign of the type.
- Similar Products and Cross-Selling: several campaigns can be default. vviinn picks the campaign that most specifically matches the category path of the product being viewed, based on each campaign’s Assigned Products.
- Product Data and Boosting: there’s no default campaign.
Panel itself uses your active default Text Search campaign when you search on Products.
Create a Campaign
Section titled “Create a Campaign”Open Campaigns and select Create New Campaign. Enter a Campaign Name, choose the Campaign Type, and choose a Configuration:
| Configuration | What You Get |
|---|---|
| Default | vviinn’s starting values for the type, using the Nets (AI embedding models) turned on for the site. The campaign is active and set as the default campaign. |
| Duplicate Campaign | A copy of an existing campaign of the same type, which you pick under Reference Campaign. Assigned products aren’t copied, so set them after you create the campaign. Unavailable until the site has a campaign of that type. |
| Manual Configuration | Every setting in the form, starting from the default values, so you can change them before you create the campaign. |
Then select Create Campaign. Panel opens the new campaign’s page.
Boosting campaigns have their own creation form. See Boosting.
If Panel shows “Please activate a Net in the Site configuration.”, the site has no Net the campaign type can use. Turn one on under Site → AI Methods. See AI Models.
Shared Settings
Section titled “Shared Settings”These settings work the same way in Text Search, Visual Search, Similar Products, and Cross-Selling campaigns. The site’s item grouping affects all four. Product Data campaigns share only Name and Active. Settings that belong to one feature are on that feature’s page.
| Setting | Section | What It Does | Default |
|---|---|---|---|
| Name | General Settings | The campaign’s name in Panel. | — |
| Active | General Settings | Whether the campaign is in use. You can also turn it on or off on the campaign list. | On |
| Default Campaign | General Settings | Makes this the campaign for requests that name none. See The Default Campaign. | On |
| Semantic Search | Methods | The Nets the campaign uses and the weight of each. See AI Models. Set Default AI Methods restores the default weights. | Depends on the site’s Nets |
| Minimum Similarity Difference | Methods → Semantic Search | Leaves out results that are closer to the query than this, which are often duplicates. In percent. | 0 |
| Maximum Similarity Difference | Methods → Semantic Search | Leaves out results that are farther from the query than this. In percent. | 80, or 100 for Cross-Selling |
| Minimum Pairwise Difference | Methods → Semantic Search | Keeps results from being too similar to each other. In percent. | 0 |
| Color | Methods | Weights for color Nets. Not in Text Search. If the site has no color Net, Panel shows “This site doesn’t support color Nets.” See AI Models. | Depends on the site’s Nets |
| Only Buyable Products | Influencers | Restricts results to products in stock. | Off |
| Preferred Image | Interface Controls | Which product image to use: First or Best Match. | First |
| Maximum Results | Interface Controls | The most results the campaign returns. | 36 for Text Search, 24 for Visual Search, 12 for Similar Products and Cross-Selling |
| Filters | Interface Controls | Which columns shoppers and agents can filter by. See Filters. | product_type, color, brand, and price for Text Search and Visual Search, none for the others |
| Assigned Products | Products | Limits the campaign to product categories, by product type or Google product category. | All products |
Filters
Section titled “Filters”Filters opens a panel with two tabs:
- Edit: turn each column on or off as a filter, give it a Filter Custom Label, and mark it Primary to show it in the compact view of the Filters component. Text Search and Visual Search campaigns can also use your custom fields as filters.
- Sort: set Sort By to Relevance, or to Manual to drag the active filters into your own order.
Item Grouping
Section titled “Item Grouping”Item grouping is a site setting, not a campaign setting. Turn it on under Site → Data Source → Item Grouping, as described in Configure Your Site. When it’s on, every Text Search, Visual Search, Similar Products, and Cross-Selling campaign shows variants of the same product, such as one shirt in several sizes, as one result. The other variants are available alongside that result.
Similar Products also leaves a product’s own variants out of its recommendations, so a shopper viewing a shirt isn’t recommended the same shirt in another size.
Manage Campaigns
Section titled “Manage Campaigns”Campaigns lists every campaign on the site, boosting campaigns included, sorted by name. Filter the list by campaign type, search it by name, and turn campaigns on or off from their tiles. Select a campaign to open its page, where you can change its settings or delete it.
On Text Search and Visual Search campaign pages, Test Settings opens a search widget that uses the campaign, so you can try your changes in Panel.
How Changes Take Effect
Section titled “How Changes Take Effect”Each section of a campaign page saves when you confirm it. Saved changes apply to the next request, with no redeploy. Two exceptions:
- A new custom field only has values after the next feed import. See Connect Your Product Feed.
- A Net weight only counts if the Net is turned on for the site under Site → AI Methods.