home

Google Adsense WordPress Widget

My own little contribution to the world of WordPress: Google Adsense Widget. 

I was compelled to write this because I couldn’t get the *other* Google Adsense Widget to work on WP 2.3.  Don’t be too impressed; it’s rather easy to write a widget because the WP Widget API made it so easy.  And with the help of this boilerplate, it’s even easier!

Anyhoo…to use this widget, drop the .php file on your WP plugins directory, activate it…and under Presentation tab you should see it as one of the widgets, fill in your google adsense info; select 1 or 2 banners…and voila!

Bubuli’s Google Adsense Widget

Popularity: 35% [?]

7 Responses to “Google Adsense WordPress Widget”

  1. b roberts
    February 11th, 2008 23:53
    1

    getting a 404 on download

  2. dalegaspi
    February 12th, 2008 01:32
    2

    ^^^^ link fixed.

  3. Stanley
    February 23rd, 2008 04:25
    3

    Hi,

    i have activate the plugin, but I dont see it under the PresentationTab.

    What can i do?

  4. dalegaspi
    February 23rd, 2008 06:54
    4

    ^^^^ on the “Presentation” tab, there should be more tabs underneath…it should be under “Widgets” (next to “Themes”)

  5. Ian Fleming
    March 26th, 2008 12:29
    5

    Great Blog! Really enjoyed the last post, full of handy tips and interesting comments!

  6. Dilip
    July 24th, 2008 13:58
    6

    My ads are not displaying.
    What is to be filled under google_ad_slot?

  7. dalegaspi
    July 25th, 2008 22:50
    7

    Dilip:

    I presume you have a Google Adsense account?

    when you generate code for Google Ad for Content, the code will have that value in the Unit Code

Leave a Reply

  • Ads