- Load dashboard section: Rules
- Select the correct index
- Click on “New Rule” button and select “Manual Editor”

- In the Condition(s) section, keep Query toggled on, select Is/Contains/Starts with/Ends with in the dropdown,
and enter a query that will trigger the consequence (e.g. “advert”) in the input field. This can
also be used for a category ID to be used for a product listing page for example.

- In the Consequence(s) section, click the Add consequence button and select Return Custom Data.

- In the input field that appears, add the data to return when the user query matches the Rule in the following
format. In this example, we are displaying an image in position 6 of the results page
"advert":{
"desktop_image":
"https://www.site.com/media/flowers.jpg",
"mobile_image":
"https://www.site.com/media/flowers.jpg",
"url":
"occasions/gifting-ideas/florist",
"position":
"6",
"promotion_id":
"Floristry",
"promotion_name":
"Floristry",
"creative_name":
"Floristry",
"location_id":
"Floristry",
"destination_url":
"occasions/gifting-ideas/florist"
}

- Optional: add rule description for clarity and define a timeframe for the promotional campaign.
- Review the rule before saving