Ad Buttons Plugin

Monetizing a blog is often done with ad buttons sized 125 x 125 pixels. The ads displayed can be affiliate links or you can sell ad spots directly to advertisers. I’ve tried adding the image ads to my WordPress template files, but whenever you want to add a new ad or take one off, you’ll have to get into the template files again and change them.

After looking for a WordPress plugin to manage my ads and trying a few, I realized none of them did exactly what I wanted. Editing someone else’s code to customize the plugin to my liking can be a painstaking process, so I decided to look a little deeper into how the WordPress plugins work and write my own ad management plugin.

My plugin is far from finished, but I decided to release a first beta version into public. The version available for download here is still a bit limited in functionality, but it can do the most basic things needed. I’m currently trying out some new functions and have a list of things to add.

The current version contains the following functionality:

Add new ad buttons
By entering image URL, link URL and link text a new ad button will be created

Enable/disable individual ad buttons
Each ad button can be enabled or disabled from the admin panel

Select how many ad buttons to display in the sidebar widget
Displaying the ad buttons on your blog is done by randomly selecting ads from your total list of active ads. You can select how many ads are displayed on your blog.

See how many times each ad button has been displayed and clicked
Ad performance is an important measurement, especially when your ads link to affiliate programs. The number of views, clicks and CTR (click thru rate) are displayed for each ad button. Views by search engine bots are automatically filtered from the count.

AdSense integration
A Google AdSense 125 x 125 ad unit can be displayed by filling in your AdSense publisher ID. AdSense ad colors can be controlled right from the Ad Buttons admin panel.

Ad scheduling
Ads can be scheduled by specifying a start and end date

Geo targeting
You can choose to show certain ads only to visitors from certain countries

Ad Buttons Ad Network
Show your ad button on other people’s blogs

The current release is version 2.1.7 and can be downloaded here: spacer (last update 01-01-1970)

If you want to be informed when new versions are released, please sign up for my newsletter by filling in your name and email address in the form on the right.

Like this plugin? Please consider making a small donation.

Changelog

2.1.3
09-11-2009
updated ip2nation database

2.1.2
01-11-2009
fixed a bug that messed up affiliate urls with an extra http or https in the url parameters

2.1
30-09-2009
extended the stats graphing to be able to switch to other months

2.0
26-09-2009
incorporated adbuttons.net ad network.

1.7.1
23-09-2009
select a custom url for the ‘your ad here’ button

1.7
14-09-2009
added geo targeting capabilities

1.6.6
12-09-2009
statistics graphic output bug fixed

1.6.5
10-09-2009
changed the plugindir retrieval to fix errors when installation directory differs from blog directory

1.6.4
05-09-2009
fixed some bugs in the statistics graphic output

1.6.3
04-09-2009
added support for https links

1.6.2
03-09-2009
Stats have been improved

1.6.1
02-09-2009
graphical view and click statistics have been added

1.6.0
01-09-2009
detailed view and click tracking will be stored in a separate table. Viewing the statistics will be incorporated into a future release. The views and clicks as seen on the admin page can be altered, this does not affect detailed stats and should be seen as a trip meter.

1.5.3
31-08-2009
Added a little note to the widget, so people can find the Ad Buttons settings menu

1.5.2
24-08-2009
css styling can now be disabled on the settings page since it can break the layout on some wordpress themes

1.5.1
22-08-2009
Database has been changed to accomodate very long URL’s like the affiliate links from amazon.com et al.

1.5.0
20-08-2009
a ‘your ad here’ button has been added that can be linked to an existing page on your wordpress site

1.4.3
19-08-2009
custom widget title was deleted when any other option on the settings page was changed: fixed.

1.4.2
18-08-2009
small ‘powered by Ad Buttons’ link, can be disabled if needed.

1.4.1
17-08-2009
optional nofollow tag selectable on the settings page

1.4.0
17-08-2009
ad scheduling by specifying a start and end date has been added

1.3.0
15-08-2009
edit function has been added to change individual ad buttons

1.2.2
13-08-2009
fixed error message on the permalinks screen caused by the Ad Buttons plugin

1.2.1
12-08-2009
incorporated color picker by dhtmlgoodies.com to control Google AdSense ad colors

1.2.0
11-08-2009
ad layout properties can now be controlled from within the admin menu with a handy preview

1.1.0
11-08-2009
google AdSense ads have been incorporated

1.0.5
09-08-2009
fixed permission problem in the activation/deactivation of ads and added a delete option

1.0.4
08-08-2009
link target attribute is now controlled by a configuration setting. ( _top, _blank or not used)
menu structure has been changed, everything related to the ad buttons plugin is now located under the Ad Buttons top-level menu.
added a shiny new wordpress style custom icon to the admin menu
division by zero bug on the stats page has been suppressed

1.0.3
07-08-2009
installation bug fixed that prevented the installation procedure, which creates the database table, from running

1.0.2
06-08-2009
Custom widget title bug fixed

1.0.1
21-07-2009
Minor bugfix to prevent double count of clicks

1.0.0
20-07-2009
First release available at wordpress.org plugin repository

23 Responses to Ad Buttons Plugin

  1. Pingback: Ad Button : Eats N Gadgets

  2. Pingback: Ad Buttons to Manage your Ads! : Eats N Gadgets

  3. Pingback: Fortschrittsbalken: Der Blog | Lukas Hermann

  4. Pingback: Themes and Plugins Used for this Site | Grizzly Groundswell

  5. Pingback: WordPress Plugins für die Bannergröße 125×125

  6. Pingback: How to Display 125×125 Ads in a Thesis Sidebar Widget | Gurushala

  7. spacer SKB says:
    August 12, 2011 at 4:35 pm

    Hi. I want to delete the widget, but Ad Buttons do not appear under WIDGETS.
    Please tell me: How do I delete this plugin?
    Kind regards
    S

  8. spacer Shanae says:
    August 18, 2011 at 1:57 pm

    Are you going to update this to the newest version?

  9. spacer A. Heinesen says:
    August 26, 2011 at 2:13 pm

    Hi! LOVE your plugin. I just have one problem with it, the size 125×125 dosn´t work. The sizes og the ad buttons are as big as the image I link to spacer
    What to do? Do you know what might be wrong?

  10. spacer Nico says:
    September 6, 2011 at 6:07 am

    Yes, that is how the plugin works. If you want your image to show as 125×125 you’ll have to resize the image and link to the resized one instead

  11. spacer Nico says:
    September 6, 2011 at 6:08 am

    It should be listed under plugins

  12. spacer Jim says:
    September 21, 2011 at 3:46 pm

    How come I can only use this in one side bar? I want it on all my pages.

  13. spacer Svea says:
    September 23, 2011 at 9:56 am

    I will try your plugin. Thank you for Ad Buttons Plugin!

  14. spacer ed Frebow says:
    September 26, 2011 at 11:27 am

    Hello, wonderful plugin. Is it possible to add a second Ad Button widget in the widget area so I can have two campaigns running in a widgetized area? Thank you for your help.

  15. spacer Wilfred Reinke says:
    September 26, 2011 at 11:48 pm

    I wanted to change an image in my ad buttons, But after I changed the url to the new image the ad does not show up just the name I gave it, any idea what I did wrong? the only thing I noticed is my other images that work has a url like this oshawalaser.com/Blog/wp-content/uploads/2011/08/Fred-burger-Contact-me.jpg

    while the new one that will not work has a url of oshawalaser.com/Blog/my-sponsors/grillr-ad-new-2/

    is it because it does not have wp-content in the url? maybe I uploaded the image to the wrong place?

    Any help would be appreciated
    Wilfred

  16. spacer Nico says:
    September 27, 2011 at 4:39 am

    Jim, why don’t you use the same sidebar on all of your pages?

  17. spacer Nico says:
    September 27, 2011 at 4:40 am

    Ed, the plugin currently only supports one widget, but I’ll look into multi-widget support

  18. spacer Martin says:
    September 27, 2011 at 4:44 am

    Does this plugin work on WPMU?

  19. spacer Nico says:
    September 27, 2011 at 4:45 am

    Wilfred, you have to put the URL of the image into the field, not the URL of a page containing the image. Just right-click on the image and select properties, this should show you the url: oshawalaser.com/Blog/wp-content/uploads/2011/04/GrILLr-ad-new-200×300.jpg which is the one you’ll want to put into the image field

  20. spacer Wilfred Reinke says:
    September 27, 2011 at 8:21 pm

    Thanks Nico I got it to work now, in my blog when I uploaded the image I found that only needed to click on File URL rather than Post URL,

    Thanks for your help, I was lost with out ya spacer

  21. spacer Nico says:
    September 28, 2011 at 6:00 am

    Martin, I have no idea if the plugin works with WPMU. I have not done anything to specifically support WPMU, so my guess is that it doesn’t. Might be a thing to look into for future releases.

  22. spacer Susan B. Bentley says:
    February 6, 2012 at 5:32 am

    Hi there,
    great plug-in. Only issue is how do I get rid of the ‘Sponsored Links’ title – doesn’t give the option to remove this in settings for Ad Buttons or the widgets page.

  23. spacer Nico says:
    February 9, 2012 at 12:37 pm

    Susan, you can change the title of the widget under ‘Appearance’ / ‘Widgets’ in the main WordPress menu

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a class="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>