Blog Archive

AdSense Public Service Ads Problem : Temporary Solution

Today (23 Jan) AdSense starts showing Public Service Ads in all AdSense genarated HTML/JavaScript code embeded blogger sites. I hope Google will fix this AdSense/Blogger problem as soon as posible. The Blogger AdSense Widgets codes are working fine.

To fix this AdSense Public Service Ads Problem, Get Your Ad Units width, height, colors values from AdSense Setup -> Manage Ads -> Edit Ad Settings.  Then replace the google_ad_client ,  google_ad_width, google_ad_height, google_ad_format and all color values with your ad units values from the following code:

<script type="text/javascript"><!--
google_ad_client="pub-XXXXXXXXXXXXXXXX";
google_ad_host="pub-1556223355139109";
google_ad_width=250;
google_ad_height=250;
google_ad_format="250x250_as";
google_ad_type="text_image";
google_color_border="252D37";
google_color_bg="252D37";
google_color_link="0AA0E0";
google_color_url="A4FFBD";
google_color_text="A4FFBD";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

Now, You need to Backup your current blogger Template, go to  Blogger account  Layout -> Edit HTML –> Check ‘Expand Widget Templates’ –> Copy all Template Code –> Save it as XML file . Open Text Editor (Notepad) and paste your Blogger Template code in it, then Find and Replace the Old Adsense Code with the New modified code. Save the Template in Blogger account  Layout -> Edit HTML.

Update: Looks Like Google has Fixed the problem