All in one adsense wordpress plugin latest Version: 2.3
(Most recent update February 11th, 2019. Original release December 7th, 2007)
License: GPL 3 / Free software
WordPress version required: 1.9 or later. Tested up to: 5.x
Download Plugin
Please note google adsense policy does not allow adult, copyright infringing or sites that promote illegal activity. Do not put adsense ads on pages that contain such material, or your adsense account will soon be banned.
Description:
All in One Adsense is a Free and Open Source WordPress plugin which is able to automatically insert google adsense ads in to your wordpress posts on the fly, and you can optionally set the ad to display in random positions in your post to avoid ad blindness, which can help increase your CTR significantly. It doesn't matter if you have 1 post or 100,000 posts, the plugin will insert your ad code into all of them automatically. You can control all aspects of your ad's display and position. Just specify ad color and position in the plugin options, your ad code is automatically generated and inserted.
Plugin Features:
- Automatically insert Google Adsense ads in to your wordpress blog posts.
- No manual work required, ad code is dynamically inserted into your existing and new wordpress posts.
- You could optionally specify not to show ads in a post by using tag <!--noadsense-->
- You could optionally specify where to start the ads in a post by using tag
<!--adsensestart--> - You could optionally specify where to stop the ads in a post by using tag
<!--adsensestop--> - Decrease ad blindness by giving you the option to randomly place your ad within your posts.
- You could optionally define absolute ad position instead of random position.
- You could optionally define random ad network to maximize earnings from both networks.
- Allow you to pick how many total ads to show on one page.
- Allow you to pick how many ads to show in one post.
- Plugin is compatible with the new WordPress Multi-User(WPMU) mode
Plugin Requirements:
All in One Adsense has been tested on WordPress up to 4.*.
Installation:
- Download the plugin zip file
- In your WordPress back end, go to Plugins -> Add new -> Upload
or use the more traditional method:
- Download and extract plugin files to your hard drive
- Upload the extracted folder all-in-one-adsense into your wordpress installation's wp-content/plugins folder
Then:
- Log in to WordPress Administration area, choose Plugins from the main menu, find All in One Adsense, and click the Activate button
- Choose Settings->Adsense from the main menu and enter your adsense id and/or channel id. Then specify your ad color and position.
Change Log:
Version 2.3, Added plugin auto update function, you can update your plugin within wordpress from this version onwards. Updated layout and instructions.
Version 2.2, updated wordpress standard compatibility.
Version 2.12, upgraded user and roles checking to the latest wordpress standard, updated instructions.
Version 2.11, minor cosmetic change and bugfixes.
Version 2.01, made the plugin compatible with WP MU, fixed various minor errors.
Version 1.92, made clarifications to the instruction again.
Version 1.91, made clarifications to the instruction text. Minor fixes.
Version 1.90, made improvement to interface, added internal colorpicker function to make picking colors easier.
Version 1.84, utilize new wordpress.org changelog feature and also added function to recognize pub- in front of client id number.
Version 1.83, tidy up some code to avoid confusion.
Version 1.82, sorry for being away for a while. In this new version, adsensestop tag should now work properly, added a few more ad sizes and various bug fixes.
Version 1.71, due to an unknown bug, I am temporarily rolling back some changes in the code. This version is actually 1.64 with some very minor changes. adsensestop is being taken out at the moment.
Version 1.70, Added the adsensestop tag, added option to change or disable donation. Fixed positioning code to make it more robust and accurate.
Version 1.64, fixed some minor compatibilities issues with WP 2.6.
Version 1.63, optimized the plugin to be more WP 2.5 friendly.
Version 1.62, fixed the slash bug, added an option to modify the amount of blank space between ad and blog content. Setting it to 0 means no blank space. Default is still 3px on a fresh install. But if you already have the plugin currently installed, you need to set the blank space again or else it will become 0px when you install this version.
Version 1.61, fixed a bug that displays too many ads per page when using the new ad positions.
Version 1.60, due to popular demand, the display of the ad now have 3px of blank space between ad and content, you could add more by using css and custom code option. There are also 6 new position definitions in the ad position option, which are "top left", "top center", "top right", "bottom left", "bottom center" and "bottom right" of the content area.
Version 1.51, Fixed a bug in admin options, where html code in options were being executed instead of displayed.
Version 1.5, Fixed a bug that keep reseting the options to default when other plugin is being activated. Added an option to add any html code before or after the ad. It could be useful for adding line breaks before and after the ad or for other styling purposes.
Version 1.3, Added an option for choosing square and rounded corners. (this will only work with Google ads. Yahoo ads currently does not offer an option for round corner)
Version 1.2, added an option for choosing between text ad, image ad or both. Added a html/javascript Google Ad Color Picker to make it easier to pick google ad compatible colors. (Note google will automatically change your colors if you set background and foreground colors too similarly to each other, for example if you set background to white and foreground text also to white, then google will change your text color to grey).
Version 1.1, fixed some typos, added more instructions and added a screenshot
Initial Release December 2007, Version 1.0
Questions and Discussions:
Please leave your email and comment under this thread, or use the contact form. I will reply to them asap.
Disclaimer: this plugin contains a donation option, which allow users to donate a small percentage of their earnings to the author of this plugin. When this option is enabled, the author's adsense ads will occasionally appear on the plugin user's website (determined by the percentage entered by the plugin user). The options enabled by default and can be turned off by entering 0 in the percentage box.
hello I also have a problem on some of my sites this plugin is not showing ads. on others it does. I have checked compared settings they all are the same. sites are almost identical same hosting same settings. but on some sites no ads 🙂 HELP! anyone know why that is? email me at mailtowinner@gmail.com
Make sure you have no white space in the adsense account number, also update to the latest version of the plugin.
Thanks, this plugin is the best I’ve used, really easy to set up.
Hi. I just downloaded your plugin, which looks very good. I don’t have any ads showing on my site though… is there anything that I should do besides activating the plugin? thanks!
You need to at least go to the settings page (Settings->Adsense), and enter and save your adsense publisher ID to begin displaying ads. Also you may want to tweak some settings, for example enter your channel id number or set the ad size and position.
Nice plugin. Is there a way to control where Adsense ad blocks go in multiple places on the site? For example, when I use the adsensestart code it ends up stacking two blocks of adsense on top of each other. Would love to be able to throw a code like the adsensestart anywhere I want to and have just one block show up so I can control the ads more. Is this built in and I’m missing it?
Thanks for your work on the plugin.
Yes, this functionality is available in my other plugin:
https://linewbie.com/2011/08/adsense-for-wordpress.html
Does using “random” ad placement ban our account? I could see that the ads are overlayed on the image which could ban our adsesne account. Need suggestion.
No, it’s perfectly fine to have random placement, though you may want to make sure the ad is not overlayed over an image, which normally shouldn’t happen.
Thanks for share it. i need it so much
lets give it a try!
thank u this pulgin help me lot………..
im using it on my blog right now, feel free to check it and thanks for this awesome plugin.
The plugin is great for the most part, however there is an issue. The ads show up fine everywhere except on single post pages. For example, when I look through ‘archives’ or ‘categories’ the ads are there, but when I access a post through ‘recent posts’ or just go directly to a specific post there are no ads. I have no restrictions set in the admin section of the plugin. Any suggestions on fixing this? Thanks for your work on this plugin!
Funny, but it is all installed and when I put in my AdSense account number, it says that it isn’t valid. The instructions on WordPress are this:Your google adsense account number can be found when you login to adsense and click on “my account”, you should see it under “property information” section on the bottom of the page, where it says “ca-pub-xxxxxxxxxxxxxxxxx”, the part marked by “x” is your account number. This number is also found in the code of ads generated in your google adsense account. Enter your ad account/publisher number in the boxes below.
Am I not putting in the right number?
Make sure there’s no extra characters or spaces, just your account number.
This is indeed the best Adsense plugin i have seen so far, i must tell you guys that i have tested dozens of plugins but this is the best and most detailed plugin , i just loved it
I’ve use easy adsense so please let me know that easy adsense is best OR this one?
easy adsense is a premium plugin that you have to pay to get all the features that are freely available in this plugin.
I am using the latest All In One AdSense but it conflicts with my bbpress forum. Has anyone else had this problem?
What exactly is the problem? I haven’t tested with bbpress. Does the plugin work at all with bbpress or just ads not displaying correctly? I’ll take a look when I have time.
Hi There, can you tell me how long will it take to see ads on my site?
It’s been a few days now, I can’t seem to see any change on the site where the ads are going to be featured either.
Can some themes effect the placement or use of ads?
Are you seeing any non-plugin ads? for example put some google generated code in the side bar? if no ads are showing at all then check if you have ad block turned on.
Hello,
what’s the difference with the “pro” and older version posted on wordpress.org? http://wordpress.org/extend/plugins/all-in-one-adsense-and-ypn-pro/
And why didn’t you upload this other version posted here on wordpress.org, too?
Thanks
The pro version was forked by someone else, and not maintained by me (it seems to be not maintained at all). Since I offer the plugin under GPL license, everyone is free to fork my code if they wanted to.
Thanks,
any plans to add your plugin to WP repository, so that it can be automatically updated from the Dashboard?
I have to say I really love your site, the way you write is awe inspiring!
hi man,
1st i would like to thank you for the plugin
it is simple and easy to deal with.
In fact i just need one more thing, how can I put adsense ad as a horizontal text menu under the header line with your plugin?
http://www.watchnshare.tk
cheers,
Choose “top” as the position.
Good Day,
I installed the plugin and followed all the instructions. My adsense ID has been inserted properly without any extra characters or spaces but nothing seems to happen. My site looks the same as it did before installing and activating the plugin. Do I still need to create ads via my adsense account or did I miss a step. I am using a template called “The Leaf” template, can you tell me if it is compatible.
Thank You
You may need to wait for a few days before ads start to show if your site is new. Also make sure ad per page isn’t set to 0
so the leaf template should work fine with this plugin then?
Is it alright to put part of this on my site if I include a reference to this web page?
Sure, not a problem.
nice post keep it up
Even with latest version 2.2, there is still error
Notice: Undefined variable: content_end in /home1/…/wp-content/plugins/all-in-one-adsense/all-in-one-adsense.php on line 628
New version added, try again to see if it helps.
Not working here, if wp supercache is enabled.
I get a bunch of errors like:
[09-Sep-2013 11:58:21 UTC] PHP Parse error: syntax error, unexpected T_STRING in /plugins/all-in-one-adsense/all-in-one-adsense.php(495) : eval()’d code on line 4
[09-Sep-2013 12:05:48 UTC] PHP Parse error: syntax error, unexpected ‘:’ in /plugins/all-in-one-adsense/all-in-one-adsense.php(495) : eval()’d code on line 4
I made a new version, try again to see if it helps.
i did everything on your site but google adsense is not showing. How long it Should take to show?
Can take up to a few days
Is this still supported?
I can’t seem to find it in the WordPress addons anywhere?
yes, this is not listed with wordpress by choice.
I could just kick myself for not finding this site sooner. You have some great information here, as well as plugins of course!
I followed a link here from an ebook I found on my harddrive from way back when?
I’m a bit confused about something though? Why does it say that the plugin was last updated on January 5, 2014 when today is only January 3, 2014?
It also says that your plugin is compatible up to WP 3.9 when the latest version of WP is only 3.8?
It looks like either someone is getting ahead of themself, or this blog is being updated with a plugin? Since your work is code and plugins I guess, you could do this easily I assume?
Whatever the case its cool by me? I wish I knew how to write code but that is a little ahead of me.
At 58 I’m just glad I was able to teach myself how to build a website. 🙂
Thanks for allowing me to share, and Happy New Year buddy!
David
How To Build Your WP Website
Thanks for the comment, yes I got a little ahead of myself, I planned to publish the newest version on Jan. 5th, but updated it yesterday instead. This is tested on WP 3.9 dev alpha version, you are correct the current stable version of WP is 3.8.
Thanks for the post. Now trying this Adsense plugin
Hi how are you doing?
this is not a comment but a question and a request.
I’m working on a site and it is nowhere as techie as yours because everyone has to start somewhere and I am not yet at your level.
What I wanted to ask without just taking the liberty because I don’t approve of just doing things like that.
Can I put a link to your site from my resource page? You can leave me an email or a comment at the site. An email would probably be best.
Thanks alot,
David
Hello, i believe that i noticed you visited my website thus i came
to return the prefer?.I am trying to in finding issues to improve my web site!I suppose its ok to make
use of a few of your concepts!!
Hy there. Great plugin, just I have one probleem with it. I have checked all points, where I don?t want to show ads and have left only posts, where to show them. But.. as I have also store on the site, the plugin thinks that roduct description is also a blog post and inserts there a adwertizement. I dont want to have ad`s in the shop and on products, just inside the posts. Can You please advise, what to do?
Tried also petting Noadsense as explained in the plugin, but… it only shows the text there… so, additionally to ad I had also visible in product description…
I happened upon your plugin after googling for a feature rich and free plugin to manage the ads on my site.
Great job to you and the plugin is easy to use! 🙂
Thanks
HI, can help me? I have a problem because when i see a article i see errors.
Ads succesfully but also i see this message:
Parse error: syntax error, unexpected T_STRING in /freedownloadwhatsapp.info/wp-content/plugins/all-in-one-adsense/all-in-one-adsense.php(495) : eval()’d code on line 6
How to fix or hide this error? very thanks
Not sure why it would display that error. Maybe you could try turn off error display on your site since the ad seems to work properly. Or try another adsense plugin
I’m really enjoing the desiign and layout of our blog.
It’s a very eassy on the eyes which makes it much more pleasant for me to come here andd visit more often. Did you hire out a designer to create
your theme? Fantastic work!
This plugin is really the bomb. I tried it and i can attest to it. Thanks for sharing
This is the best Google Adsense Plugin I have ever used.
I have implemented the pugin on my Posts/Pages with 3 “Ad formats to show”. Is there a way to place an ad block of just ONE specific size in my sidebar as well?
You can try to use my other adsense plugin that can place ads in sidebar.
Hello,
I started using this plugin, and I have some troubles.
I have 2 ads that sometimes dont show (it happens alot) on random posts.
The 3rd ad from the wordpress theme works 100% fine.
The 2 ads are responsive from the adsense, and worked fine when I was using other plugin. But I need this plugin because I can manage the positions on the posts.
Please can you help me somehow?
aNY UPDATES FOR THIS PLUGIN? VERY THANKS IS THE BEST PLUGIN SINCE YEARS
No matter what I do, the ads do not show up. Yes, I’ve checked & rechecked the number, if there are any white space, saved all my settings etc. Anything else I can check?
1. turn off adblock
2. check in the sourcecode, is there google ad code in the source code? if there is then you should be fine.
3. try from another computer/location
Thanks for sharing good information
Remarkable! Its in fact remarkable piece of writing, I
have got much clear idea about from this paragraph.
Marvelous, what a website it is! This blog provides
useful facts to us, keep it up.