Google Adsense Plugin...

Google Adsense Plugin...

Postby Nomad on Mon Dec 03, 2007 11:54 am

hmmm seems that Google have changed how they implement there code so how we would have set up our adds via teh adsense plugin previously will not now work anymore

see the examples below

previous adsense code

Code: Select all
<div class="googleadsense">
      <script type="text/javascript"><!--
      google_ad_client = "pub-xxxxxxxxxxxxxxxxxx";
      google_ad_width = 728;
      google_ad_height = 90;
      google_ad_format = "728x90_as";
      google_ad_type = "text_image";
      google_ad_channel ="4329347759";
      google_page_url = document.location;
      google_color_border = "FFFFFF";
      google_color_link = "014E82";
      google_color_bg = "FFFFFF";
      google_color_text = "014E82";
      google_color_url = "014E82";

      <script type="text/javascript"

new adsense code

Code: Select all
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxx";
//468x60, created 12/3/07
google_ad_slot = "8003517932";
google_ad_width = 468;
google_ad_height = 60;
<script type="text/javascript"

As you can see there are some changes such as channel seems to now have become ad_slot

Anyone want to help me update this?

Blog Ireland - now with video posting
Normally most write something meaningful here so many to choose from yet most oft ignored.
Lifetype Expert
Posts: 645
Joined: Sat Feb 05, 2005 8:40 pm
Location: Eire

Return to General Plugin Development