Welcome to WebmasterWorld Guest from 54.234.38.8

Forum Moderators: incrediBILL & martinibuster

Message Too Old, No Replies

AdSense in on the fly Custom Search Engine?

How do I use on the fly custom search engine with AdSense?

     
9:43 pm on May 5, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 17, 2004
posts: 195
votes: 0


This page from Google provides a way to make a Custom Search Engine on the fly using links in a webpage:
[google.com...]

The same page above from Google also indicates that:


Already have a Custom Search Engine? It can now search over the links on pages you include.

I have pasted the code in a webpage I have full of links. And it worked nicely brining up search results from sites I linked to from my webpage. But how can I tie this up to my AdSense account?

The code Google provides for "on the fly" Custom Search Engine is as follows:
<form name="cse" id="searchbox_demo" action="http://www.google.com/cse">
<input type="hidden" name="cref" value="" />
<input name="q" type="text" size="40" />
<input type="submit" name="sa" value="Search" />
</form>
<script type="text/javascript" src="http://www.google.com/cse/tools/onthefly?form=searchbox_demo"></script>

Do I change by hand the id value from "searchbox_demo" to my AdSense id? I have not read that but its just a guess.

Seems there is NO way to integrate AdSense into the "on the fly" custom search engine unless you are using "linked custom search engines" through xml files you'd have to maintain, which is not something I want to do.

10:49 pm on May 5, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member farmboy is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 6, 2005
posts:2712
votes: 11


FYI, there were some hints last week that upgrades to the current AdSense for Search might be coming soon.

FarmBoy

10:53 am on May 6, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 4, 2003
posts:1161
votes: 0


Custom Search Engine on the fly cannot be monetised with AdSense.

However, FarmBoy is right, AdSense for search is now powered by Custom Search. You may have already seen yesterday's blogpost [adsense.blogspot.com], which explains the new features this offers to publishers. We hope you and your users find them useful.