Import Default Rules and Scheduled Campaigns

Instead of re-creating default rules or scheduled campaigns that you've set up in one store into other stores you have in Personalized Search, you can export them in a JSON file from the store in which you first set them up and then import them into the other store(s).

The method for importing and exporting the JSON file allows you to import default rules as a scheduled campaign and vice versa.

Prerequisites

Ensure the following before you import boosting rules, pinned products, and excluded products en masse into one or more stores:

  • Ensure the categories in both the export source store and the import destination store(s) have the same set of product attributes and attribute values in the same language. Personalized Search ignores any mismatched or unmatched product attributes in the source during the import.
  • Note any pinned product rules or excluded product rules in the import destination store(s) because they're cleared before these two types of rules are imported from the JSON file.

    The export operation preserves the order of products in each exported pinned product rule.

  • Temporarily disable any boosting rules in the export source store that you don't want automatically enabled on import into the destination store(s). You can re-enable those rules in the export source store after you create the JSON file.
  • Determine if you want the boosting rules in the export source store to replace the boosting rules you've already created in the import destination store(s), or if you want to add them as new rules.

After you import rules into a destination store, the changes aren't applied until you click SAVE & PUBLISH. Therefore, take time to review the boosting rules, pinned products, and excluded products for each product category to ensure the changes are as you expected before you commit to them.

Table of Contents