Latest Version: 1.5.1 for joomla 1.5.x and 1.0.1 for joomla 1.0.x
(updated on February 14th, 2009)
Download:
Click Here to download the plugin for Joomla 1.5.x
Click Here to download the plugin for Joomla 1.0.x
Description:
Adsense and YPN Inserter is a Free and Open Source Joomla plugin which is able to automatically insert google adsense ads or yahoo publisher network (YPN) ads in to your joomla articles and contents on the fly. It doesn’t matter if you have 1 post or 100,000 articles, it 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.
Features:
- Automatically insert Google Adsense or YPN ads in to your articles.
- No manual work required, ad code is dynamically inserted into your existing and new 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 articles.
- 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.
Requirements:
Adsense and YPN Inserter has been tested on Joomla 1.5.x and 1.0.x. Please download the appropriate version above.
Installation
- Go to Extensions->Install/Uninstall
- Browse to the zip file you downloaded and click Upload file & install
- After the install is successful. Go to Extensions->Plugin Manager->Content – Adsense and YPN Inserter
- Choose your ad network and put in your account number and save the settings
- Don’t forget to enable the plugin. Your installation is complete and your ads should now showing up in your articles
Change Log:
02/14/2008: Version 1.5.1 and 1.0.1, removed border and various bug fixes.
10/08/2008: Version 1.50 and 1.00, initial release for joomla 1.5.x and 1.0.x
Questions and Discussions:
Enter the Adsense and YPN Inserter Forum
You could also leave comments here if you do not wish to register and post in a forum.
Download:
Click Here to download the plugin for Joomla 1.5.x
Click Here to download the plugin for Joomla 1.0.x
Older versions:
1.50 and 1.00
Click Here to download the plugin for Joomla 1.5.x
Click Here to download the plugin for Joomla 1.0.x
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).




Amazing, I found your site on Bing looking around for something completely different and I really enjoyed your site. I will stop by again to read some more posts. Thanks!
Hey, the plugin is just great.Thanks for giving such an important pligin for joomla, that too being non commercial.
He had the following PHP error after installing the plugin Adsense and YPN Inserter “in Joomla 1.0.15:
PHP Notice: Undefined property: stdClass::$catid in /xxxx/xxxxx/Adsense.php line 201
To fix this I added this line:
if(isset($article->catid))
————————————
Before the error:
if($this->isHome()){
if($this->param(‘donotshow’)==1)return $article->text;
else
return $this->prepareCt($article);
}
// if(($isshowhome==1)&&($this->isHome()))return $article->text;
if(!$this->isHome()){ //开启非INDEX页显示广告 for index ads
//if(!empty($article->id)||!is_null($article->id)){//这样写是因为在latest news 显示的时候他不出来广告
if(isset($article->id)){
//类似于这样的url index.php?option=com_content&view=section&id=3&Itemid=45 只要view存在section并却系统设置为0时就不显示广告
#for section page
//if($this->isSection()&&$this->param(‘isshowinsection’)==0)return $article->text;
if(in_array($article->catid,$not_show_c))return $article->text; //for cat
if(in_array($article->id,$not_show_a))return $article->text; //for article
#for section page
#for blog page
if(($this->isBlogView())&&($this->param(‘isShowExistCatAndBlog’)==1))return $article->text;
#for categories page
if($this->isCategories()&&($this->param(‘isshowincategories’)==0))return $article->text;
#如果还有更多的页面在这加
————————————-
BUG FIXED:
if(!$this->isHome()){ //开启非INDEX页显示广告 for index ads
//if(!empty($article->id)||!is_null($article->id)){//这样写是因为在latest news 显示的时候他不出来广告
if(isset($article->id))
if(isset($article->catid)) // isSection()&&$this->param(‘isshowinsection’)==0)return $article->text;
if(in_array($article->id,$not_show_a))return $article->text; //for article
if(in_array($article->catid,$not_show_c))return $article->text; //for cat
#for section page
#for blog page
if(($this->isBlogView())&&($this->param(‘isShowExistCatAndBlog’)==1))return $article->text;
#for categories page
if($this->isCategories()&&($this->param(‘isshowincategories’)==0))return $article->text;
#如果还有更多的页面在这加
———————–
I hope they serve, Greetings
Are there any updates to this??
hello, guys!
what’s the “Adsense ID (numbers only)” mean? I don’t understand…
Can it add both Adsense and YPN adverts randomly depending on page load? I know its illegal to combine them both, so this would be good for A/B testing between the 2 advertising platforms.
A formidable share, I simply given this onto a colleague who was doing slightly evaluation on this. And he in fact bought me breakfast because I discovered it for him.. smile. So let me reword that: Thnx for the treat! However yeah Thnkx for spending the time to debate this, I really feel strongly about it and love studying extra on this topic. If attainable, as you change into expertise, would you thoughts updating your blog with more details? It is extremely useful for me. Massive thumb up for this blog put up!
Pingback: Insurance coverage
So is there a plugin for WordPress yet that includes these features? Or will the absolute ones be updated? certainly attending developed to this, back I put Fb on my website cartage has been ascent steadily. With comments and abnormally the affection area it synches with Fb itself is action to be superb! Now they’re a bit broken and sadly, abounding comments break on Fb and abandon instead of blockage accessible on the blog post.
This can be a really interesting submit! Thanks for this! Using all the best Luke aka couchgool.