AGAR - Amazon/Google Ad Replacement

(Based on APF Banner by Mr. Rat)

Current Version 2.040412 Change Log
If you are using an older version please upgrade!


AGAR is a PERL 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).

Features

Examples

Banners and Buttons
Leaderboard (728 x 90)
Banner (468 x 60)
Button (125x125) New!
Towers
Skyscraper (120 x 600)
Wide Skyscraper (160 x 600) New!
Vertical Banner (120 x 240) New!
Inline Rectangles
Medium Rectangle (300 x 250)
Square (250 x 250) New!
Large Rectangle (336 x 280) New!
Small Rectangle (180 x 150) New!

Please visit Amazon.com and support our site.
http://www.bestdealsdiscounts.com/agar/agar.cgi?ad_format=728x90_as&input_mode=dvd&input_stream=As%20with%20Star%20Wars%20the%20George%20Lucas%20produced%20Indiana%20Jones%20trilogy

Script Variables

input_mode The Amazon mode
input_id The Amazon browse node
input_string Words you want to search for separated by plus signs
input_stream Uses the new TextStreamSearch. Amazon tries to match products to the content you send. More flexible than keywords.
input_item Up to 10 Amazon's ASIN or ISBN numbers separated by commas
input_locale Select a locale (Defaults to us)
input_output=javascript Wrap the HTML output in JavaScript
ad_format  The size of ad (468x60_as, 728x90_as, 300x250_as, 120x600_as, etc...) Custom sizes can be created using the same formatting. "width"x"height_"as.
color_border  The border color
color_bg  The background color in the ad
color_url  The color of the URL or title text
color_text  The color of the description (price)

If you would like to match your Adsense colors. The AGAR color variables match the Adsense javascript. Here's an example.

<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxxxx";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_color_border = "DDB7BA";
google_color_bg = "FFF5F6";
google_color_link = "0000CC";
google_color_url = "008000";
google_color_text = "6F6F6F";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

Download

Click here to download the source code.

Previous Version - 1.040206.

Additional Information

Does using AGAR to replace public service ads Violate the AdSense Terms and Conditions?
From Google: Because AGAR ads replace AdSense public service ads, these will not be considered competing text based or content targeted ads. However, it is against our program policies and Terms and Conditions for publishers to display these ads on the same pages that AdWords ads are being displayed. We do not permit AdWords ads to be published on web pages that also contain what could be considered competing ads.

Please also review the Google AdSense program policies and Terms and Conditions.

Can I display AGAR ads and AdSense/AdWords ads on the same page?
No. This violates the Google AdSense program policies and Terms and Conditions.

Can I use AGAR without AdSense?
Yes. AdSense is not required to run or use AGAR.

Can I use AGAR with my Amazon Products Feed site or any other Amazon Web Services site?
Yes, but since it is uses the same technology, the products AGAR displays will many times be the same products displayed elsewhere on your page. Also keep in mind your 1 request per second limit with AWS. As an alternative, please try APGAR (AllPosters/Google Ad Replacement).


Contact Us

Best Deals & Discounts    Cool Stuff to Own    Quick Shopping