As a website owner, you may decide that you wish to add a Google Search Bar to your website. The Google Search Bar (as illustrated below) is actually part of the Google AdSense programm.
Google AdSense for Search
This feature will allow you to add a Google Search Bar to your own website. So, this means that visitors to your website can search for information contained in your site.
And what’s more, when a search is performed, the search engine returns Google AdSense advertising in the search results. It’s fully automatic and the advertisements are directly related to the search query.
Now here’s the good bit! When people click your Search Ads (these are the sponsored ads), you are paid money. It’s a pay per click scheme, so you can make money as people use your search bar.
For example, if you search for ‘hotels on the moon’, this means that the ‘Ads by Goooooogle’ in the search results will also be about hotels on the moon.
Don’t worry if you are not using search technology directly within your site. Once again, it’s all taken care of. For example, it will work perfectly well on a simple HTML site.
How do I put a Google Search Bar on my Website?
Firstly, you need to SIGN-UP to Google AdSense.
Now, log into the AdSense toolkit and go to ‘AdSense Setup’ and then select ‘AdSense for Search’.
As a starting point, select your options from:
…Allows users to search the web directly from your site.
Or (even better)
Google WebSearch + SiteSearch
…Allows users to search the web or the specific site(s) of your choice.
‘Search box style’ will allow you to control the appearance of the search box on your site.
Now click the ‘Continue’ button.
Next, customise the logo and style of your search results pages to match the colours and style of your site.
Finally, click the ‘Continue’ button again.
Now you have ‘Your AdSense Code’ (or your Google Search Box Code). This is the code you will ‘copy’ and ‘paste’ onto your web page.
Now, Start your “Web Site Software” and go to:
- Menu: Tools, Options
- Insert HTML
- Banner Header
- Header Inner End
- Paste in the
<div id="google-search">your search code here</div>
- Click on “Apply” button to save the page
- Compile your site