Forum Moderators: skibum
AGAR is a free script designed to look similar to Google Adsense ads and be used as a replacement for the public service ads. It uses Amazon Web Services (AWS) to display current product information and pricing. It can also be used a banner ad to display Amazon links through Javascript and Server Side Includes (SSI).
Agar script [bestdealsdiscounts.com]
It has .txt, but that can't be right...
Is it .pl or .perl or .cgi or something?
I tried .cgi before I tried .html, but it didn't do anything.
I'm still embarrassed. (Moreso, because the first time around, I spelt 'embarrassed' incorrectly).
What I don't understand is that I'm referencing the script from AdSense like so:
google_alternate_ad_url = "http://www.mysite.com/cgi-bin/agar.pl?mode=books&input_string=keyword1+keyword2"; And two times out of ten it comes up with great results.
But two times out of ten it comes up with on-topic videos and dvds, which can be forgiven, but they're not books.
Three times out of ten it comes up with stuff (not books) that is relevant to one of the keywords only and nowhere near on topic.
Three times out of ten it comes up with:
"Sorry no results are currently being returned for this query."
It surely can't be the keywords, because they work fine in the amazon products feed (which I installed in the process, because I thought - somehat erringly -that it was a fairly necessary, if not obligatory, component).
So is it the script? Or do I need to add something else to the script or the referencing URL?
How has agar performed for everyone else so far?
I have not used the script but I have done a lot of Amazon Web Services scripts.
Last I checked, even the Amazon Web Services "blended" mode search is nowhere near as resourceful as the search engine you get when searching Amazon directly. It appears they left the real muscle of their web site search out of the AWS toolkit. Perhaps not to have their servers overloaded by AWS developers.
Pardon me if my knowledge on this subject is out of date, but that has been my experience.
Thanks.
I guess some adds from this source is better than no revenue from public service adds.
I'm not convinced.
For me long-term higher relevance is more important than short-term higher revenue.
If the displayed results are going to be this unreliable, I'm better off handpicking the books and writing my own alternative ads.
To avoid displaying "Sorry no results ...", I would suggest to replace this line
error_msg = "Sorry no results are currently being returned for this query."; with this
$error_msg = "<iframe src=\"http://search.revenuepilot.com/servlet/search?perpage=1&filter=off&id=Your_ID_Here&skip=0&keyword=$textstream\" width=\"728\" height=\"90\" frameborder=\"0\" scrolling=\"no\">"; You may use other pay-for-click search engines as well.
"AGAR" appears in the intervening gap on the right. Am I somehow triggering both AdSense and AGAR or do the latter ads run into two lines?