Google AdSense for Zoom Search Engine
You can add Google AdSense to your custom Zoom Search Engine and provide ads which are relevant to the searches made on your web site.
Note: Wrensoft Zoom Search Engine is a software package which implements a custom search engine on your web site. It is a self-contained solution and requires no external service such as Google to provide search results. However, this article is for users who wish to add Google AdSense advertising to their website's search engine (powered by Zoom) to earn advertising commission.
This is a special feature with Google AdSense, and it requires you have an AdSense account with Google and also applied for active permission to use "AdSense for Search Ads Only".
More information can be found on Google's website here.
What this achieves
The main benefit from doing all this is that you can get ads which are relevant to the search query made by the end user on your website, using your own custom search engine.
Ordinary AdSense would return advertising that might be triggered by any keywords on your page, including for example, "Bob's Search Engine" that might be in the title, or other miscellaneous content on your search page unrelated to the subject searched by your end user.
To do this, you need to configure the options for your ads and tell Google what your end user searched for.
How to implement this
Please refer to the abovementioned official Google page for details on how to implement AdSense with configured options.
The following changes should be made on the "search_template.html" page.
Then you need to place the following code which initializes a "pageOptions" variable to pass on to Google ads.
The blue text is the added code to the corresponding code block found in the Google article linked above.
The rest - Placing the ads on your page
The rest is as documented in the original Google article ("3. Choose where the ads should appear on your page").
For the sake of completeness, we reproduced the necessary HTML to place the ads on your page. The following two div tags are placed where you want your ads to appear.
Return to the Zoom Search Engine Support page.