
I’m working on a group blog project and I wanted to share AdSense revenue with my contributers. I quickly found Harley’s WordPress plugin for AdSense sharing and got it activated–it’s very easy to use and works nicely. The only problem is that the new style of AdSense ads cannot be assigned to another publisher just by changing the publisher ID. In order to make this work you have to assign a field with Harley’s plugin and the users have to go set up their own ads that are just like yours with their Publisher ID and the GoogleAdSlot value.
This is a little dangerous because it lets users who don’t know what they are doing screw up or leaves you open to displaying horrendous ads on your site. So I looked around the web and found some examples of the older ads. Here are the ones I’m using if you’d like to copy and paste them if you’re using Harley’s plugin–may save you a little time.
Old code for the 468×15 text link units
<script type=”text/javascript”><!–
google_ad_client = “xxxxxxxxxx”;
google_alternate_ad_url = “”;
google_alternate_color = “FFFFFF”;
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = “468×15_0ads_al_s”;
google_ad_type = “text_image”;
google_ad_channel =”xxxxxxxxxx”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “000000″;
google_color_url = “000000″;
google_color_text = “cccccc”;
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
Old code for the 300×250 text and image ads
script type=”text/javascript”><!–
google_ad_client = “xxxxxxxx”;
google_alternate_ad_url = “”;
google_alternate_color = “FFFFFF”;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = “300×250_as”;
google_ad_type = “text_image”;
google_ad_channel =”xxxxxxxxxx”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “000000″;
google_color_url = “000000″;
google_color_text = “000000″;
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
Old code for a 468×60 text ad
<script type=”text/javascript”><!–
google_ad_client = “xxxxxxxx”;
google_ad_channel = “xxxxxxx”;
google_alternate_ad_url = “”;
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = “468×60_as”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “000000″;
google_color_url = “000000″;
google_color_text = “000000″;
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
If these are the ad types you were looking for, I’ve tested them and they work. Thanks again to Harley for writing such a great and useful plugin!
If you would like to make a comment, please fill out the form below.
Recent Comments