Adsense Widget For WordPress Sidebar: Updated Version

I use Adsense widget for WordPress Sidebar from Mike Smullin in this technology blog. It’s a simple widgetized plugin and I really like its simplicity. I was never bugged by this plugin until today when I found strange behavior when using this plugin for WordPress > 2.3.1. If I updated other widget positions and then tried to click configuration values for this plugin, I got empty form. Initially, I thought the configuration values were not saved properly and somehow missing (although later I found out that the data was still saved in the database, it was just not displayed). Hence, I decided to do further investigation and spend some time to provide bug fixes.

Today, I logged in to my Google Adsense account and tried to create new ad campaign. Surprisingly, it seemed that Google has simplified their Adsense parameters. Lucky for me, this was a perfect coincidence. I got double shots: first, fixing bugs in the plugin and then updating the plugin to be compatible with the most recent Google Adsense setup.

As a result, you can download the updated plugin from this link.

Update 1: you can now get the recently updated version from this link (This version is compatible with WordPress 2.7.x or older)

Update 2: for users running WordPress version 2.8 or newer, you can download the widget from this link

Instruction for activating and using this plugin is available in Mike’s post with some exception that the plugin configuration for Adsense is now much simpler.

Update: For WordPress >=2.6, simply unzip the file and then upload it to the plugins folder. Next, you need to activate the plugin by clicking “Plugins” menu on your admin dashboard. You can later use and modify this plugin by navigating to “Design” > “Widget” and add Google Adsense widget to the list of current widgets. Before using it at the first time, you should configure it by clicking on the “Edit” link followed by clicking “Save Changes” button.

Please tell Mike that his plugin has been updated and please tell this Mike if you like this update by commenting to this post.

15 thoughts on “Adsense Widget For WordPress Sidebar: Updated Version

  1. Joe

    Nice work,
    It will be great if this version is maintained or kept in sync with the version from Mike’s earlier work

    Reply
  2. Stuart

    Thanks for updating this but it’s still not working for me. Here’s the code that’s in the sidebar:

    Google Ads

    Can you see a problem? The title shows and there’s space taken up but no ads appear. I’m using WP 2.3.3.

    Thanks!

    Reply
  3. Tech Admin Post author

    @Stuart
    I’ll investigate this issue and inform later if there is incompatibility with most recent WordPress version.

    Thank you for your feedback.

    Reply
  4. Pingback: richsage

  5. Stefan

    Hi there,

    I am using WP MU 2.6 and this Widget doesn’t work. I have the same problem as mentioned abvoe. Maybe this helps…

    With kind regards,
    Stefan

    Reply
  6. Tech Admin Post author

    @Stefan
    Thank you for the feedback. I’ll crosscheck this with the original author’s version and update mine when it’s due.

    Reply
  7. Mark

    Did not work for me. The problem seems to be that the only thing associating the widget with my AdSense account is the publisher ID, but when I enter this, it only displays the ads in the order I created them with Google – there seems to be no setting to identify which ad is supposed to display, and since Google doesn’t let you delete ads, it is always stuck displaying the first 3 ad templates I created.

    Reply
  8. Tech Admin Post author

    @Mark
    Thank you for your comment. I will try to fiddle with this plugin during the weekend and provide analysis and update afterward.

    Reply
  9. Pingback: Quick Notes On Google Adsense Sidebar Widget for Wordpress at Amikelive | Technology Blog

  10. Pingback: Adsense Widget For Wordpress Sidebar: Updated Version « Amikelive | Technology Blog « corner23

  11. Bijay sapkota

    I have no plugin option in my wordpress dashboard ,so i can’t install adsense widgets in the sidebar. And if i try to paste the adsense code to the html text then it doesnot appear .what shall i do ?

    Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.