Steps to enable search promotions in google custom search using regex
- Go to https://cse.google.com/
- Go to search features-> promotions.
- Toggle enable promotions to ON.
- Click on Add promotion.
- Enter the queries for which you want the promotion to trigger. ( you can use regex matches for example all searches beginning with the custom search you can use the regex match (custom search)*
- Enter a title for your promotion.
- Enter your promotion URL.
- Enter your promotion description.
- Enter the thumbnail URL.
- Click enable.
- Now lets go to the custom search engine we created and check if the promotion is triggering or not for the search query “custom search”.