Forum Moderators: martinibuster
I am trying to add the Google AdSense Search box on my search page so that users can do an internal search with my algorithm or do an internal or external search with G.
However, when I click the Google Search button, whatever options I have selected to generate the code (eg safe search or not, open in a new page or not) nothing happens. I am running the test either from a static file or from my test server on localhost:8080.
Does G have to explicitly enable me running AsSense Search or will it only run on a live server (I'm loathe to go live without fully testing)?
Or is there something else obvious I have to do? (I do have JS enabled, I have not mangled G's code, etc...)
Rgds
Damon
Thx for your v fast reply and your helpful points!
1) I did opt-in; that's how I got the JS code to paste into my search page.
2) Google has indexed most of my pages: I've had 90% of my traffic direct from G for years!
What's happening is that the page just reloads in place with no search results or anything which does not even make sense from the HTML form code.
Rgds
Damon
users can do an internal search with my algorithm or do an internal or external search with G
From your comment above, have you combined your search code with the adsense code by using the same search box and button because this is against the TOS to change the code?
Or have you got two search boxes on your site, one for your search and the other for the adsense search which will also search your pages via the google database? (if they have been indexed)
I have not altered G's code, since I know there are some constructions up with which they will not put!
G's code is sitting there on the same page as my search box/results but completely separate from it, but I cannot make G's code work.
Ah, I think I know what I have done... accidentally embedded it in my own form... Let me check...
Rgds
Damon