Google Custom Search (CSE) team today annouced several new features to give user more flexibility on how and when to trigger "Custom Search promotions", which enable you to put relevant information at the top of your search results for specific queries.
- "Use Regular expressions instead of verbatim query matches to make it easier to display your promotions for all relevant user queries.
- Promotion URL and titles based on the user's query: Instead of manually adding and maintaining a long list of similarly structured URLs and promotion titles, now you can use the $q variable in your promotion URL or title to replace it with the user's query.
- Manually enable/disable individual promotions without affecting the others.
- Promotions for Custom Search engines created in AdSense: Promotions now work for these CSEs (though they are still managed via the CSE's control panel on the Google Custom Search site)," revealed Weiyu Zhu, Software Engineer.
Here is how to add a promotion using regular expressions:
- On the Control Panel, in the left-hand menu, click Promotions.
- Click Add...
- Select the Regular expression checkbox.
- In the Queries box, type a query that will trigger the display of your promotion. (Note that queries are not case-sensitive.)
- In the Title box, type the title you want to appear in the promotion box.
- In the Link box, type the URL you want to promote.
- Click OK.
For more details and instructions, you can refer this help center article.