
All of you might have seen the New Ajax Search Gadget on your Layout > Add Gadget Page. This Ajax search gadget doesn't support adsense ads.But you can now have a Google ad supported Google Ajax search widget on your blog.The speciality of the Ajax Search is that it can search your blog, without actually leaving your blog.(no need to go to a new page.. it acts like an inline search)
The Ad supported Ajax search Code is available at Google Web Elements .You can see 3 options there.
- Automatically Search My Site
- Search my Site and use Adsense for Search
- Use an existing Custom Search Engine
For showing adsense ads you have to opt for option 2 or 3 .If you choose to use the second option,then you will have to provide you Adsense publisher id(which looks like pub-xxxxxxxx).If you opt for the option 3, you will have to provide the Custom search ID, which will be present in your Google Custom search Code.[Code is generated inline when you enter any of these ids.]
After grabbing this code, just go to your Blogger > Layout page and add a new HTML/JavaScript Gadget and paste the Google Web Element Custom Search code there and save the gadget. The Gadget will look better if you drag it to above the Blog Posts Widget and save it.[that area has got enough space to display the ads :)]
Here is a preview of what you should see.
Web
|
If you want to change the colours and styling of the search results, you will have to add additional CSS Classes.
Update: - Now Google CSE has added all these things. and much more(themes and other customization stuff) So it would be easier for you guys.. :)
Permalink :Google Ajax Search With Your Adsense Ads
Great man really nice post.But is this a new widget?Because blogger already provide a google custom search engine
@Blogging Tips ,
the default ajax search gadget provided by blogger doesn't support adsense(till now)..
i hope that blogger will soon provide an option to enable or disable ads on the search gadget..
so the difference between both widgets is ADSENSE
ok thanks Aneesh
ok great design
LOL, Today I received Google Adsense mail about it. You're fast
Yes, I had tried this hack before.......lost the code somewhere.......sall implement on my new pahe
wow your great man... I used it already, I figure it out now...Thanx for this great post...
Excellent tool, i just added it to my site.
Hi,
I was trying to embed the normal search engine in a blog (wordpress) and I had no option left to do it since for a wordpress hosted blog it is not possible to use javacript or other piece of code. Is there any solutions for this?
- J.
Thanks BloggerPlugins
hey don wrote story. give the correct code where to place
Good gadget. I plan to embed it on my page.
thank visit
OMG THIS IS WHAT I WANTED, THANKS ALOT
I am delighted to know about the New Ajax Search Gadget. Its speciality of inline searching is tremendous.
You haven't wrote anything CSS styling. What code and where do we have to put it to make custom search engine look like yours or customized anyway. Without CSS search engine is as plain as ever.
NIce One........
Hi how can I make the background transparent because the color white ground does not fit to my web templates background
hey tomaz said about writing about css ... please inform me immediately ... i'm a newbie .. would you share, please ....
thanks for information, but i have a problem my code is note working in firefox can't type in search box but in internet explorer it works. Can u help me solve my problem. thanks
Dear Aneesh ,
Really liked your blog.
Can you please explain me the method to show ads as you are showing on this page.
This is really cool...When I add the cse div tag to show the results it takes up some whitspace...Is there a way to remove this?..I checked the code on this site, but I can't figure out how you have removed the whitespace
Really good.
excellent widget for blogger.So, thanks.
thanks
thank for sharing... i will try this.. :)
thanks..
when i search its not showing the search results its only showing the ads ?
Thanks
nice :)
woooooowww nice..thanxx frnd
Thank you for sharing useful. But I have a problem. How do I put in the desired position. For example I want to change the google search engine placement search box on my ex.
I tried to do this but could not customize the colour of the bar. I had to remove it! It is not in line with my blog colour. How do I change the colour?
Sir. Me new to tech. Learning a lot here. Sir. Is this gadget search also in blog comments? Thank You with High Regards.
P.s. Sir. How to configure for search within blog comments also? My blog only one post and comments. No AdSense. Kindly guide. With High Regards.
P.s. Kindly guide.
P.s. Can be well done by you, helping and expertise. If possible with Catched Search Words. With High Regards. Very much Requesting and Thanking You again and again.
Sir. Thanking You. Now got it and seems working. Learned a lot here. Following by Email for future articles. Thank You again with High Regards.
Nice. Thanx!
Thanks a lot this is very helpful to me.
not working my site help me
tell me how to ad new gadgets