Skip to main content

Google Custom Search with Adsense for Blogger or WordPress Blogs

How to implement Google Custom Search with Adsense in Blogger or Wordpress Blogs? [I have seen Adsense Search performing much better (in terms of CTR and revenue) after switching from the standand Adsense for Search to the more customizable Google Custom Search.]

If you are looking for new ways to maximize Adsense Income from your blog or website, it makes more sense to use Google Custom Search with Adsense on your site instead of the regular Adsense for Search program. Here are some reasons:
  1. Adsense for Search allows minimal customization of the Google Search Box and you are limited to white, black or gray colored search boxes. In Custom Search, you have complete control over layout and branding provided the custom changes comply with the Adsense TOS.
  2. For site specific search, visitors can either search the entire web or just the pages of your current site. In Google Custom Search engine you can completely remove the "web option" and let visitors search just the sites you want - there are no radio checkboxes.
  3. Ads are always displayed at the top of search results in Adsense for Search which may not be the most optimized layout for all blog websites. In Adsense Custom Search, you can chose to have ads at the top and right, top and bottom or just in the right sidebar similar to what you see on Google.com.
To use Google Custom Search with Adsense in blogs hosted on Blogger or Wordpress, you have to use a workaround since these blog do not allow adding new pages which are essential for hosting the search results page.

First, create a Custom Search Engine. Type your blog URL(s) in the "Sites to Search" section and choose "Show Ads on Results pages". Then connect your Google Co-op account with Google AdSense through the "Make money" tab in your search engine's control panel.

Next click the "Code" tab and open "Search box and search results code for your website" - Specify where you want the Google Ads to appear and click Save changes.

Create a new HTML webpage in FrontPage or any WYSIWYG editor such that it look very similar to your blog homepage.  Now copy-paste the "Google Search Results Snippet" from Google CSE page to your local HTML page. Save the changes and upload your webpage to your Dropbox. Make the file public and get the link.

Copy the full URL of this HTML webpage and paste it in the URL box of your Google CSE Code panel. Next copy paste the Google CSE Search Box snippet in your blog template and Save.

For self-hosted Wordpress blogs, you can create a new page with post slug that says "search" and paste the Google Search Results snippet inside the page.
More AdSense - Custom Search Tips
  1. If you have narrow site layout, use the Watermark style branding and it shows the Google Logo right inside the search box.
  2. For best CTR, use the Top & Right Ads option.
  3. Stretch the Google Search Results across your page width [like 800px].
  4. Never link to your search results pages from blog posts - that's against the Adsense Rule.
  5. Don't provide Google Toolbar buttons for your Adsense Search pages - that's also against the rule.
  6. Do not modify the height of Adsense Resultset - that will break the layout in cases when just a couple of pages are available for certain search queries.

Popular posts from this blog

How to Download Contacts from Facebook To Outlook Address Book

Facebook users are not too pleased with the "walled garden" approach of Facebook. The reason is simple - while you can easily import your Outlook address book and GMail contacts into Facebook, the reverse path is closed. There's no "official" way to export your Facebook friends email addresses or contact phone numbers out as a CSV file so that you can sync the contacts data with Outlook, GMail or your BlackBerry. Some third-party Facebook hacks like "Facebook Sync" (for Mac) and "Facebook Downloader" (for Windows) did allow you to download your Facebook friends' names, emails, mobile phone number and profile photo to the desktop but they were quickly removed for violation of Facebook Terms of Use. How to Download Contacts from Facebook There are still some options to take Friends data outside the walls of Facebook wall. Facebook offers the Takeout option allowing you to download all Facebook data locally to the disk (include...

Firefox Keyboard Shortcuts for Power Users

All features in Mozilla Firefox browser are accessible through the use of the keyboard. You can use shortcut keys to view and save Web pages, search the web, open new webpages, work with bookmarks, or find text on the current webpage. Some of the most common keyboard shortcuts in Mozilla Firefox are Ctrl+N (to open a new Firefox window), Ctrl+T (to open a new tab), Ctrl+F4 (to close the current tab) and Ctrl+S to save the current webpage. Mozilla Firefox supports many more powerful keyboard shortcuts. For instance, by pressing a simple key combination, you can manually delete autocomplete entries from the Firefox location bar or Web forms. I am sharing a list of my favorite Mozilla Firefox Keyboard Shortcuts that make web browsing with Firefox even more fun . And you also save your precious time as navigating through several layers of Firefox Toolbar menus is no longer necessary. 1. Web Search Ctrl+K moves the cursor to the Search Bar. You can then type in the terms you wish to fin...

Digital Inspiration

Digital Inspiration is a popular tech blog by  Amit Agarwal . Our popular Google Scripts include  Gmail Mail Merge  (send personalized emails with Gmail ),  Document Studio (generate PDFs from Google Forms ) and   File Upload Forms ( receive files  in Google Drive). Also see  Reverse Image Mobile Search , Online Speech Recognition and Website Screenshots , the most useful websites on the Internet.