WordPress Plugin: AdRotator - Ad Rotating Solution for your Ads (including AdSense, Clicksor, Chitika etc.)
May 16th, 2005 by Angsuman ChakrabortyConfiguration
No configuration is required for the plugin itself. However you need to upload a file (or files) with your ad code in wp-content directory. And you need to insert code in your template files (of your theme) at location of your choice (referencing the file to fetch ads from) to display ads. Details are provided in the User Manual.
Download
Download AdRotator - AdServing Solution for WordPress Blogs
Please read the User Manual thoroughly after you download the plugin.
Filed under CMS Software, Headline News, How To, Open Source Software, PHP, Pro Blogging, Technology, Web, WordPress | | RSS 2.0 | Email this Article

May 23rd, 2005 at 8:43 am
[...] s - Cool Scripts LinkyLoo Wordpress Plugins Business of Blogging — Mark WordPress Plugin: AdRotator - Ad [...]
May 23rd, 2005 at 5:33 pm
[...]
davidbisset.com
WordPress Plugin: AdRotator Displays an advertisement (which [...]
May 24th, 2005 at 2:39 am
[...] « WordPress Theme Viewer Plugin WordPress: Ad-Rotator Ad-Rotator è un plugin per [...]
May 25th, 2005 at 2:32 pm
[...] as been published that supports “ad rotation”. WordPress Plugin: AdRotator WordPress Plugin: AdRotator - Ad [...]
May 30th, 2005 at 7:27 pm
Is this rotator supposed to exchange ads continuously while viewing the same page or is does it Only changes ads as you change pages on the blog? I installed it and if I go to different category pages, it does change the ad with each new page viewed. Do you know of any plugin that will keep them changing on the same page or am I just getting this wrong? thanks!
May 30th, 2005 at 9:00 pm
It changes ad with each viewing of each page. You can reload the page to test it.
> Do you know of any plugin that will keep them changing on the same page or am I just getting this wrong?
No. AFAIK it is not recommended by Google and many Ad providers as it leads to artificial increase in page impressions. Check the TOS before you go that route.
May 31st, 2005 at 1:15 pm
What if I am publishing my own banners? I have simple src tags in the footer.php and sidebar.php in my WordPress Theme. Can I rotate multiple banners in the footer, or in between posts?
Thanks
May 31st, 2005 at 8:58 pm
@Ravedelay
> What if I am publishing my own banners?
Sure. No problem.
> Can I rotate multiple banners in the footer, or in between posts?
Anywhere you want.
July 2nd, 2005 at 11:10 pm
[...] Ever since I opened the YDW Store I’ve had a banner ad for it at the bottom of most pages. What I wanted to do was to be able to rotate several ads for it, but there wasn’t a way to do it until recently. Thanks to Angsuman Chakraborty’s Ad Rotator plugin for WordPress, I have that ability. [...]
July 10th, 2005 at 5:52 am
[...] Simple Thoughts on WordPress [...]
July 31st, 2005 at 6:49 pm
[...] For more info and download, please visit taragana blog Tags: Wordpress, Plugin, Ad, Ad Rotator DirectLinks: Adsense, Gloriagate, Naruto, Ka Webspy Directory, Cellphones and Gadgets [...]
October 10th, 2005 at 7:16 pm
Angsuman,
I’m the guy from WP forums who is STILL having problems making some rotating ads work. You dropped by and offered your services– which I greatly appreciate.
You say this AD ROTATOR is easy and requires little coding. I’ve read this ‘manual’ twice and must politely disagree.
1. I completed the first step, uploading and activating the plugin. Very clear.
2. You then ask me to create a .txt file. I’m pretty sure I know what you mean, but right there some people won’t. I’m a Mac user that believes I can create such a file in text edit, but I’m unsure if I need to do so in some binary or ascii mode, neither of which mean anything to me but I that I see now and again.
3. Even worse:
“Each of these files contains one or more lines. Each line contains the Ad code for any particular advertisement.” This is very vague. Lines of what? What ad code? What does it look like, exactly, since in code EXACT matters.
**************
My best suggestion: create and post an example banners.txt file, with example ad code in it.
My personal request is that you DON’T force us to identically sized banners.
Any help would be greatly GREATLY appreciated,
Jerome
October 10th, 2005 at 8:00 pm
@Jerome and others
> You then ask me to create a .txt file
I mean create a text file with .txt extension.
> “Each of these files contains one or more lines. Each line contains the Ad code for any particular advertisement.” This is very vague. Lines of what? What ad code? What does it look like, exactly, since in code EXACT matters.
> Lines of what?
“Each line contains the Ad code for any particular advertisement.”
> What ad code?
Your advertisers like Google / Chitika etc. gives your certain text to insert in your webpage / template. That is commonly referred to as ad code.
> What does it look like, exactly, since in code EXACT matters.
It depends on your advertiser. See the example below for my advertisers code.
> My best suggestion: create and post an example banners.txt file, with example ad code in it.
You got it - sample adrotator file - adrotator_example.txt
> My personal request is that you DON’T force us to identically sized banners.
I don’t. You can have any number of banners of any sizes; all different even.
Not only that you can use them in as many locations as you want; you can also have certain ads display with more frequency than others etc.
October 11th, 2005 at 1:40 pm
Dear Sir,
You rock. Thank you so much for the sample.txt youp posted. It helped me figure out little nuances and such and was greatly appreciated.
What would make this plugin really easy– maybe:
1. We upload and activate the php.plugin
2. It creates a control panel under ‘manage’
3. It allows us to name and create a .txt file in the default location; as well as a default position/folder for images
4. It offers fields for html, descriptions, and images
This may be asking a lot, but what I’m trying to do is reduce the potential of error for the novice like myself
******************
But THANK YOU thank you THANK YOU for you help in this matter.
******************
There isn’t a way to make this somehow work for a PHPboard, is there? (I managed to get the javascript thing to work there.)
October 11th, 2005 at 10:28 pm
@Jerome
Thanks for your compliments.
I will keep your suggestions in mind for the next version.
> There isn’t a way to make this somehow work for a PHPboard, is there?
It is very easy to make it work anywhere. I may soon put up a generic version for other systems.
October 25th, 2005 at 12:00 pm
Is there anyway this ADSense tool can advertise banners with Pictures, and not just TEXT ads? If its capable of doing this please let me know !
Great plugin by the way
November 5th, 2005 at 12:00 am
Give me the download link Please
November 5th, 2005 at 3:28 am
It is in page 2.
Please read the User Manual thoroughly after you download the plugin.
November 5th, 2005 at 8:15 pm
I have been trying to use your rotator script rotating AddSense and other text advertising but AddSense just would not show. I have converted the add code to one liner but it does not come up. Other lines do show up but not the ASense line.
Can you tell me if it does work with AddSense in general or is their code incompatible with this script?
I do not want to cut the code in two parts as you mention in the User mannual, but rather keep it all in the txt file.
Can you please tell me if it does work with AddSense.
If yes, can you please look into this code and may be tell me what is wrong here.
Thank you.
AS Code:
November 5th, 2005 at 10:34 pm
@Mike
> Can you please tell me if it does work with AddSense.
Absolutely. I use it in all my blogs.
> I have converted the add code to one liner but it does not come up.
That is kind of tricky so I don’t recommend it.
> If yes, can you please look into this code and may be tell me what is wrong here.
Sure. Send it at angsuman [at] taragana [dot] com
November 10th, 2005 at 1:58 am
I’m wondering whether there’s a way to make this display a Google AdSense for Search.
Or if you know of any other WP Plugin that can do this, I’d really appreciate you telling me.
Thanks.
November 11th, 2005 at 10:06 pm
@George
I am not sure about your question. Can you please clarify?
November 18th, 2005 at 12:26 pm
This plugin is really nice ! great work sir.
November 18th, 2005 at 12:43 pm
Thanks Kritika.
BTW: Your link isn’t valid.
December 9th, 2005 at 3:23 pm
help I get:
Fatal error: Call to undefined function: getad()
anywhere i place
December 9th, 2005 at 8:39 pm
Mr. P,
You haven’t activated the plugin.
December 22nd, 2005 at 8:57 pm
Can someone please provide an example of both the .txt file and code added into the template for mulitple AdSense ads?
Also, is it possible to make the ads appear at the bottom of each post?
cheers
December 22nd, 2005 at 11:21 pm
@Nathan
> Can someone please provide an example of both the .txt file
Check the comments, specifically comment no 13 where I provide an example.
> code added into the template for mulitple AdSense ads?
Please check the documentation. Essentially I call getad with different file names.
> Also, is it possible to make the ads appear at the bottom of each post?
Yes. In this blog I use AdRotator to display AdSense ad at the bottom of each post. Just add the line in your template after the post code.
December 27th, 2005 at 1:44 pm
[...] WordPress Plugin: AdRotator - Ad Rotating Solution for your Ads (including AdSense) [...]
December 29th, 2005 at 1:02 am
[...] [...]
January 3rd, 2006 at 10:22 pm
Nathan might want to know… for the adsense ads, if you try to put everything on one line, there is some code
I just removed the
January 3rd, 2006 at 10:23 pm
oh .. dang code never showed up.. I hope you can edit and fix that.. so it makes sense . thanks (and you can delete this 2nd comment in moderation)
January 3rd, 2006 at 11:35 pm
Hart,
I couldn’t see the code even with edit mode. Can you please email it to me?
My email is angsuman[at]taragana[dot]com
Angsuman
January 5th, 2006 at 4:12 pm
Angsuman:
I got the plugin to work correctly. However, I have two ad banners displaying on my blog at the same time: A leaderboard and a wide skyscraper. I’d like to have both of them rotate Google AdSense and Yahoo Publisher Network ads — but displaying 2 AdSense or 2 YPN ads at the same time.
Right now, the Rotator randomizes it so that some of the time, for example, the leaderboard will show an AdSense ad, and the skyscraper shows a YPN ad, on the same page refresh. As I understand it, this violates both networks’ TOS.
Any way to control this?
Thanks for your work here.
January 5th, 2006 at 6:08 pm
@CT
You need a separate plugin.
I am working on it for this blog but I doubt if it will be free
January 5th, 2006 at 6:36 pm
Hmmmm… Well, I’ll check on that. Good luck.
January 5th, 2006 at 6:43 pm
I don’t understand. I’ve put in a line of code in my ad.txt but nothing shows up. Why is this happening?
I put “
January 5th, 2006 at 7:11 pm
Please read all the pages of this article for a proper understanding.
February 9th, 2006 at 2:21 am
Does this plugin work with Wordpress 2?
February 9th, 2006 at 2:34 am
interesting. but please, can someone show a good example for the txt file setup?
February 9th, 2006 at 3:59 am
@WP2
Yes, it also works with WP 2. In fact I will go on to say it is designed to be future-proof.
@Marco
You got it - sample adrotator file - adrotator_example.txt
February 9th, 2006 at 7:31 am
[...] Pro Blogger me hace notar este particular plugin para WordPress llamado AdRotator. Lo interesante de este plugin es que permite la rotación entre varios banners que se especifiquen, incluso se pueden rotar anuncios adsense. [...]
February 10th, 2006 at 4:05 am
[...] If you’re a Wordpress user you may be interested in installing the Ad Rotating Plug-in called Ad-Rotator. [...]
February 16th, 2006 at 2:17 pm
[...] AdRotator: Selecciona y muestra un anuncio de forma aleatoria a partir de un archivo de texto. [...]
February 16th, 2006 at 10:35 pm
[...] WordPress Plugin: AdRotator - Ad Rotating Solution for your Ads (including AdSense, Clicksor, Chitika etc.) {found via ProBlogger} [...]
February 21st, 2006 at 6:22 pm
Great site! I came across it when doing some research for a project. I read through the posts and some a really REALLY good. Keep up the great work! I will be back.
February 26th, 2006 at 10:16 am
How can I get an RSS feed on this blog? I am new to this and really like the content being discussed here
March 6th, 2006 at 1:31 pm
Terrific site. I have a blog of my own I try to manage. I do not get 1/2 the amount of comments you get! I am doing some research on Voip and stumbled into your blog. Great job with it
March 6th, 2006 at 3:23 pm
This is one of the best site i have ever seen keep it up man.
March 6th, 2006 at 5:04 pm
I enjoy your writing so much, I always look forward to your next post.
March 12th, 2006 at 4:40 pm
I enjoy your writing so much, I always look forward to your next post.
March 14th, 2006 at 1:20 pm
I hope my computer does not crash as I post this comment. Good going!
March 20th, 2006 at 1:22 am
[...] (A) I am using AD-ROTATOR wordpress plug in, called twice in my header file. I created a text file with a link to pictures of all header screen image views that I took, sized to “358″ by “100″ and linked directly to the member’s site. I called this text file HART-Empire.com/wp-content/hen-headers1.txt and HART-Empire.com/wp-content/hen-headers2.txt [...]
March 26th, 2006 at 8:50 am
In the user manual, you mentioned that
“Finally you need to specify a location to display your ads. Add the code in your template.”
Does I need to edit the template file by adding to index.php in the folder of ” public_html/wp-content/themes/the_theme_that_I_am_using ” ?
By the way, how can I add ” ” to each page or post in Wordpress hosting ?
Thanks
March 26th, 2006 at 9:51 am
Revised as follows:
Does I need to edit the template file by adding “ads code-php”to index.php in the folder of ” public_html/wp-content/themes/the_theme_that_I_am_using ” ?
By the way, how can I add ”ads code-php” to each page or post in Wordpress hosting ?
Thanks
March 26th, 2006 at 11:04 am
You may just need to add it to one file in your template. It depends on where you want to show the ad. For example if you want to show it in sidebar then add it to sidebar.php.
If on the main page then add it to index.php etc.
Hope you get the idea.
March 26th, 2006 at 9:04 pm
Thanks for your help.
I still hope you go to details for “Page”,not for “post” in categories.
Because I did not find index.php related with “page”,and I have created severl “pages”,maybe I need to add ads in the middle of specific page.
So can I access folder ‘public_html/wp-content/cache/id/pages/specific_page.php ‘ ,and add [] code to “middle area” of page ?
Thanks
March 26th, 2006 at 9:08 pm
Revised:
ADD[] mean ads code [php echo getad('Ad File Name');]
March 26th, 2006 at 10:17 pm
You are misunderstanding. Displaying of pages is determined by the template pages in your theme.
You have to make changes there. Please check the files in your theme and WordPress documentation in codex to understand how it works.
You don’t have to worry about cache for making any changes.
March 27th, 2006 at 12:47 pm
HI I installed this very cool app! thanks! BUT I need somme help.. I am gettinng some wierd characters and not sure from where or why..
I’m on a mAC using text edit saving it a .txt.
files are usually ok when I do that.
I have two ads listed on the text file. So there are only two images. the images have wierd charcters next to them and sometimes when teh page refreshes there is no image and just a long line of gobbledygook text characters.. any idea how to correct this?
thanks
regards
BArb
April 5th, 2006 at 1:42 pm
[...] 4. Angsuman Chakraborty’s Ad Rotator Ad Rotator is an ad rotating solution for your ads, including Adsense, Clicksor, Chitika, etc. Ad Rotator displays an advertisement (which is randomly selected from a group of advertisements specified in a text file) at your chosen location. [...]
April 6th, 2006 at 9:03 am
Maybe this is a silly q.
But please help.
What should I write in those txt files?
Can I show flash,jpg or any other images?
Can I control ‘randomness” and specifiy the banner to change only after certain number of days?
Thanks,
drb
April 6th, 2006 at 9:23 am
> What should I write in those txt files?
Your ad code, one per line. See example.
> Can I show flash,jpg or any other images?
Sure, anything.
> Can I control ‘randomness”
Yes. Please see the multi-page documentation above for details.
> and specifiy the banner to change only after certain number of days?
No.
April 6th, 2006 at 11:50 am
Thanks for the prompt reply.
By any chance, are you considering adding the feature for-time period settings?
Thanks,
drb
April 6th, 2006 at 11:55 am
Would you be willing to sponsor it?
April 7th, 2006 at 9:19 am
I am afraid i can’t but sincerely wish to donate for your time, efforts and intellectual property. Someday I will, when I settle down with a decent job.
Thanks,
drb
April 7th, 2006 at 4:10 pm
Howdy everyone, I’m Christian, from Alaska. I found your blog easy to navigate, informative, & had good information on the subject I needed for my school report, Thanks a lot!
April 10th, 2006 at 10:27 am
[...] Wordpress provides a unique plugin which allows you to easily rotate your ads, as many as you like in a very convinent way. The AdRotator WordPress Plugin is a total Ad Rotating Solution for your Ads. And it can easily help you rotate Google AdSense, yahoo ads, Commision Junction, Clicksor, Chitika Eminimalls ads etc. [...]
April 11th, 2006 at 1:18 am
Great idea but wheres the link to download?
April 18th, 2006 at 1:23 pm
Comment #18 (above) contains the ‘Download’ link.
April 18th, 2006 at 8:59 pm
Thanks Kat.
April 24th, 2006 at 5:14 pm
Excelente, siempre hagan cosas así, simple, directo, sencillo pero efectivo. Muchas gracias, LLk
April 30th, 2006 at 7:44 pm
Great plugin. I’m experiencing some difficulty though.
I’m trying to use it to rotate a series of Amazon Associate links that use the tag.
I’m using WP 2.2 w/ the default them w/ widgets enabled. I tried putting the php call inside a text widget in the Sidebar–no effect. I got it to work a bit but the variables inside the link cut off the rest of the widgets that were below it in the sidebar.
So then I put the php call in the bottom of the Sidebar.php theme page, just before the final tag. It worked about 60% of the time but made the rest of the site unstable, esp. in IE (where the reloads were particularly catastrophic).
I’m wondering if it has to do w/ the tag unless you have some advice about better placement in the Sidebar.php or a little code to wrap it in. You can access my ad file here.
Thanks again.
April 30th, 2006 at 7:46 pm
In the above, the tag referred to in the link is the “iframe” tag.
On the php page, I refer to the “div” tag.
They were originally cut out of the post. Sorry!
May 1st, 2006 at 6:35 am
[...] AdRotator: Questo plugin rappresenta una valida, unica e completa soluzione per la gestione dei vostri annunci pubblicitari, permette di gestire facilmente sistemi come Google AdSense, Yahoo Ads, Commision Junction, Clicksor, Chitika Eminimalls etc. Troverete il link per il download e la guida per l’installazione nel sito di riferimento. [...]
May 3rd, 2006 at 5:10 pm
[...] You might have noticed this addition to the site - over there on the right, in the sidebar. It’s a simple and effective little tool, developed by Simple Thoughts for WordPress, but which can also be adapted for use with other blogging software. This implementation draws on a text file of quotations, about writing or by writers, that I have collected over the years. A quotation is randomly selected every time you reload the site. If you have an apt writing quote, please send it along and I’ll add it to the file. [...]
May 8th, 2006 at 10:54 am
Hi! I’ve been using AdRotator for some time with no complaints (and much praise!) but now I’ve finally run into a question.
I want to include two different Google Referrer ads– one for Firefox, one for Picasa. I added the script to display the ads in my template, and I have the
line in my .txt file.
I also have my own banner (for my book “Brave Men Run”) in rotation.
The “Brave Men Run” and the Picasa ads rotate no problem… but the Firefox ad doesn’t seem to be in the rotation. Is it not possible to have two different Google programs rotate in the same spot?
Many thanks!
May 8th, 2006 at 7:52 pm
I downloaded, installed, and set up AdRotator today. I use it to display random ads on a local Web site, wickenburg-az.com. It does the job nicely, although I did have some trouble piecing together the instructions I needed. I wrote a quick How To article on my personal blog that explains what I did.
Thanks for the plugin.
May 8th, 2006 at 11:09 pm
Matthew,
Ensure that you have the entire Google code in one line, removing newlines etc. It will work.
Thanks Maria. Here is his tutorial link.
May 10th, 2006 at 12:55 pm
I’ve uploaded the file, my text file is here:
http://www.phonereviews.mywebhut.com/blog/wp-content/myads.txt
I’ve added the code “php echo getad(’myads’);” inside the tags. I still can’t seem to get it to work. I’ve added the tags inside the index.php of my themes folder.
Thanks for the help…
May 15th, 2006 at 9:54 pm
I’m trying to use this with AdSense. I’ve read everything on this site. I’ve seen the example.txt file.
I must be missing something. In my template, I have the google code for formatting the text ads. At the end of the format code I call the plugins php function. In my txt file I put the line from google. I’m getting the same ads. No matter how many lines of ads I put. If I remove the script line the urls show up but are not formatted.
Also, how do I get the correct tags for the google ads I want. They are hidden in other sites.
May 23rd, 2006 at 2:40 pm
well, is anyone providing a solution here???
May 23rd, 2006 at 4:12 pm
Hi, I downloaded and Installed your Adrotoator Plugin locally and it was working just fine.
But when i tried to put it in my blog It doesn’t show up anything.
What might be the problem ? Does it require any special PHP extension ?
Please help me. Thanks in Advance
June 18th, 2006 at 2:08 pm
I am not able to see my ad. I am trying to just show a simple banner image hosted on my own site.
I have tried everything possible… Any suggestions. thank you
June 18th, 2006 at 2:16 pm
I just wanted to let you know that I resolved this. I turned off my Nortons internet security for spyware and adware and voila wouldn’t you know it appeared! I have only been pursuing this for 6 hours! thanks anyway and I do hope this post helps others.
June 26th, 2006 at 8:23 am
[...] AdSense - contextual ad program by Google Adbrite - sell text ads Amazon Associates - popular affiliate program AdGenta - text ads by Qumana (see ‘Q’) AdRotator - WP ad rotating plugin Akismet - Comment Spam Fighting Tool Adhearus - pay per click advertising AdWords - the advertisers side of AdSense - many bloggers use it to promote their blogs [...]
July 1st, 2006 at 10:23 am
I read the blog, comments and manual. put it up, turned it on and it worked first time! This was a breeze to put together and I am a code novice. Of course I have a question. I have five banner ads on my site that I need to rotate through so that the top most ad is random. I can load your “code call” five times, but sometimes that ends up with two duplicate ads showing at the same time. People come to my site 2 or three times a week — I want to sell the fact that there ad is always “up” and that the order of ads is random.
Is this possible?
DtV
July 1st, 2006 at 10:43 pm
Yes, it is possible. Contact me directly, using the contact form, for a quotation.
July 5th, 2006 at 10:21 am
[...] AdRotator Wordpress Plugin - rotate your adsense ads with other affiliate programs like Chitika Eminimalls [...]
July 7th, 2006 at 10:44 am
commission junction uses java script for their ads
for example - 1 ad in my text file is here http://celebridiot.com/wordpress/wp-content/skyscrapper.txt
will this work with the ad rotator????
if so i have plugged in the ?getad code and nothing ever appears — thoughts? ideas?
July 7th, 2006 at 12:22 pm
John,
Yes. AdSense ads are also in javascript. They work fine. Contact me using the web form for any consulting needs.
July 11th, 2006 at 10:22 pm
Great plugin, downloaded and installed it easily on a number of websites.
As all my sites also run wp-cache it does act differently then usual.
In my case the banner is cached for the time wp-cache is caching a particular page (with standard wp-cache settings that is 3600 seconds). No problem there - each page loads a different banner and the banners change on reload *after* the cache is reset.
Example site: http://www.privacyfinance.com
Paul
http://www.portagemma.com
July 18th, 2006 at 10:21 am
Hi!
I’ve been using your AdRotator plugin for WordPress for long time now.
First, I’d like to say thanks.
I have a question. I’m one of the theme builder of WordPress, if you let me I’d like to include your plugin with my theme with Japanese manual with it.(I’m Japanese)
Let me know if you’re fine with it.
Thanks!
July 18th, 2006 at 1:51 pm
I have replied to your personally.
July 18th, 2006 at 8:38 pm
have i missed something? i am not getting this thing to work.
i have created within the “wp-content” folder a file named “2X2_ad.txt” with the following line code:
in my sidebar, i have the following code:
Advertisement Space
any help is greatly appreciated.
July 18th, 2006 at 8:40 pm
okay - so the code did not post ..
let’s try this again.
“txt” -
sidebar:
Advertisement SpaceJuly 18th, 2006 at 8:43 pm
txt file:
[a rel="external nofollow" href="#" title='The power of advertising is GREAT.'>
July 19th, 2006 at 12:21 am
Send me the copy via contact form link, available on top right corner of the page.
July 19th, 2006 at 11:24 am
hi, thanks for your very indespensible plugin sir, guys like you makes the internet a much better place!
July 21st, 2006 at 7:49 am
[...] Found a cool plugin today. WordPress Plugin: AdRotator – Ad Rotating Solution for your Ads (including AdSense, Clicksor, Chitika etc.) [...]
July 24th, 2006 at 9:45 pm
[...] AdRotator Wordpress Plugin - rota tus anuncios de adnsense con otros de otros anunciantes que uses [...]
August 3rd, 2006 at 9:13 am
Hi - I downloaded your adrotator script to my WP (v2.0.4) blog and I cannot get it to display. I’ve tried it in the header and footer templates, I’ve read thru the manual, looked thru WordPress forums for help and I can’t see what’s wrong. The txt file is created & fine, saved under /wp-content with simple banners and their links one per line, the formatting of the div section is fine as I’ve tested that with independent ads. The script is activated in the plugin area, the insertion script is copied directly from your manual with the appropriate file name. But nothing shows and when you view the source of the page, there is no code showing up for your script. The div tag (topads) it sits in is empty. Any ideas on what’s happening here? I’d really like to make use of this script as it sounds perfect for what I’m needing.
August 6th, 2006 at 8:00 am
HI, frostmom
just code error!
X
O
August 6th, 2006 at 8:15 am
php echo getad(’bannerad’) X
php echo getad(’bannerad’) o
August 6th, 2006 at 8:37 am
dont copy sample code in this post.
php echo getad(’bannerad’)
( change this key ‘ -> Apostrophe key)
August 7th, 2006 at 2:13 am
Please make sure you have included:
<php echo getad(’banner_ad_text_file’) ?>
banner_ad_text_file is the text file name without the txt extension.
August 9th, 2006 at 7:26 pm
Thx for the tips but I have that code in place already as you have indicated. Copied it straight from your manual:
where I have removed appropriate question marks for the php start & end code for this post and topbanner is the txt file I created as per your sample.
Any other suggestions as to what I may have missed?
August 9th, 2006 at 7:32 pm
oh picklejuice the code didn’t come thru, sorry. Here, let me try this:
Remove the Xs and dashes replace the single quote. (How did you get your code lines to show?)
August 9th, 2006 at 7:35 pm
Still not showing, darn it and sorry. You’ll have to take it for granted that I copied your code line directly from your manual and that the php call line structure is identical to yours, with the appropriate substitution of the file name as you show.
August 9th, 2006 at 11:47 pm
Can you please email me the exact code you included with the following information:
1. You blog url
2. Your text file name
3. Exact code you have included
August 10th, 2006 at 4:54 pm
information sent - thx
August 14th, 2006 at 2:25 pm
Hi, I’m also not getting it to work, and have also followed instructions to the letter. Is there something broken with the plug-in and the later versions of WordPress?
August 16th, 2006 at 10:51 am
OK, sorted it. I think it’s absolutely essential that you make sure everyone understand that you need to use flat text quote marks and not styled quote marks from word-processor type documents which I suspect you have in your example code somewhere that I copied. Other than that it’s great, so thanks very much.
September 1st, 2006 at 8:43 am
GREAT! THANKS!
September 5th, 2006 at 9:21 pm
I have created a how-to on setting up Ad-Rotator with specific instruction on getting Google’s Ad-Sense working.
You can find the how-to @ http://www.davehildebrand.com/archives/36
September 13th, 2006 at 9:39 am
@Nigel
You are right. WordPress replaces simple single quotes with styled quote marks which creates problems for anyone doing simple cut-paste from the blog. I have replaced them with double quotes which should work fine with cut-paste.
September 14th, 2006 at 8:24 pm
[...] I won’t go into detail about my search for the plugin. It was neither long nor exciting. I wound up with AdRotator by Angsuman Chakraborty, which was really designed to work with Google AdSense and other prepacked blog advertising tools. But as I read the comments for the plugin’s description, I was assured that it would do what I needed to do. [...]
September 15th, 2006 at 4:08 am
Installed, Thanmks!!
October 1st, 2006 at 1:52 pm
Thank You! I got it working after only one mistake (a new record for me) and it works beautifully.
October 10th, 2006 at 5:48 pm
I haven’t been able to get the plug-in to work yet, but I’m still working on it. I wanted to ask whether the lines in the .txt file can be like this: or if they need to be html only?
October 11th, 2006 at 9:34 am
i think i have an idea why the google adsense ads don’t show at first even after correct installation. google self says that it takes up to 48 hours before the search robots have scanned your page and by this action enabling AdSense to work. no search robot, no adsense ads. it might be as easy as that. after an afternoon of searching the error, i now will fix myself a cup of tea and wait to see if i’m right
all the best,
chris from sweden
October 11th, 2006 at 9:49 am
and another reason to slap myself: make sure you don’t have any ad blockers installed in your computer or browser, like i had…
October 12th, 2006 at 9:34 pm
We are working on a professional version of this plugin. Stay tuned.
October 23rd, 2006 at 3:40 pm
Just wondering if anyone could tell me which file to add the “” to if you want your ads to be displayed after each post? There are many editable files within Wordpress. Which one do you edit and where in that file do you add to show up after each post?
I tried adding it to the “Main Index” file which is very short. It did work if I added this after the footer info, but if I tried to place it after the post info, it messed up the whole site.
Any help would be great!
Thanks,
Rob
October 23rd, 2006 at 9:03 pm
Add it just above the comments section. You can also do it through a plugin. I have one such (unreleased) plugin which does the same for my other blogs like the stem cell research blog.
October 24th, 2006 at 2:28 am
Hi,
Just above the comments section in which file?
Thanks for responding Angsuman,
Rob
October 24th, 2006 at 5:59 am
single.php
October 24th, 2006 at 2:40 pm
Hi! I’m using AdRotator to display buttons and am wondering if there is a way to center
the buttons. Thanks!
October 24th, 2006 at 8:11 pm
Enclose them within <center> </center> tags
October 26th, 2006 at 10:59 pm
Hi Angsuman,
I don’t have a single.php file anywhere that I see, but I do have a standalone.php file. Is that the same thing. I am really unsure where to put the code to make your plugin work.
Thanks again for your help,
Rob
November 6th, 2006 at 7:56 pm
[...] [...]
November 10th, 2006 at 2:44 am
any wpmu compatible version?
tia
dny
November 13th, 2006 at 11:01 am
[...] Adsense Rotator, per combattere la “cecità indotta dai banner” E con questo è tutto! Spero che vi aiutino a incrementare i vostri guadagni con il blog! Technorati Tags: ads, adsense, advertising, banner, click thru, ctr, google, guadagnare, online, plugin, positioning, pubblicità, tips, tweaks, wordpress [...]
November 14th, 2006 at 6:49 am
[...] - Adsense Deluxe - Adsense Injection - Adsense Inline - Adsense Beautifier - AdSense Widget for WordPress Sidebar - MightyAdsense - AdRotator Wordpress Plugin - Adsense Earnings Wordpress Plugin - WP-AdsenseProfit - AdSense Sharing Revenue and Earnings System - Author Adsense Wordpress Plugin [...]
November 14th, 2006 at 2:32 pm
[...] AdRotator Wordpress Plugin - damit kann man AdSense mit Chitika und anderen Affiliate-Bannern rotieren lassen um so die Werbeblindheit der User zu “bekämpfen”. [...]
November 14th, 2006 at 11:24 pm
[...] AdRotator Wordpress Plugin - rotates your adsense ads with other affiliate programs like Chitika Eminimalls wherever you want. Helps to reduce ad blindness and test different ad formats and affiliate programs. [...]
November 16th, 2006 at 9:14 am
[...] AdRotator Wordpress Plugin - rotates your adsense ads with other affiliate programs like Chitika Eminimalls wherever you want. Helps to reduce ad blindness and test different ad formats and affiliate programs. [...]
November 16th, 2006 at 9:18 pm
HI,
Got it to work in an instant with my themes.
Is there a way to call it on HTML pages. I am trying to call it on Wordpress “Write Post” so that ads can be included in the post, but I can see that the code were garbled after posting.
November 16th, 2006 at 9:29 pm
To use it on Write Post you will need to install Priyadi’s exec-post plugin. It allows you to include php code in your post or page directly.
November 16th, 2006 at 11:42 pm
Thanks a lot. You’re great man.
November 17th, 2006 at 9:41 am
[...] AdRotator Overview WordPress plugin AdRotator enables you to display an advertisement (which is randomly selected from a group of advertisements specified in a text file) at your chosen location anywhere in your WordPress blog. [...]
November 21st, 2006 at 12:02 pm
[...] AdRotator Wordpress Plugin - rotates your adsense ads with other affiliate programs like Chitika Eminimalls wherever you want. Helps to reduce ad blindness and test different ad formats and affiliate programs. [...]
November 21st, 2006 at 1:27 pm
Thanks
November 25th, 2006 at 4:30 am
[...] AdRotator Wordpress Plugin - include prin roatatie reclame de pe programele specifice in care sinteti inclusi, cum ar fi: AdSense, Clicksor, Chitika. [...]
November 25th, 2006 at 10:12 pm
[...] AdRotator Wordpress Plugin - โปแกรมจะหมุนตัวโฆษณา adsense ของคุณโดยจะสอดคล้อง กับโปรแกรมอื่นๆเหมือนโปรแกรม Chitika Eminimalls ที่ใดก็ตามที่คุณต้องการ [...]
November 28th, 2006 at 11:13 am
[...] AdRotator Ermöglicht es, zwischen verschiedenen Advertising und Affiliate Programmen (AdSense, YPN - Yahoo Private Network, Chitika Eminimals) hin her zu wechseln! [...]
November 29th, 2006 at 10:34 am
[...] AdRotatorErmöglicht es, zwischen verschiedenen Advertising und Affiliate Programmen (AdSense, YPN - Yahoo Private Network, Chitika Eminimals) hin her zu wechseln! [...]
December 7th, 2006 at 7:36 pm
[...] AdRotator Wordpress Plugin - rotates your adsense ads with other affiliate programs like Chitika Eminimalls wherever you want. Helps to reduce ad blindness and test different ad formats and affiliate programs. [...]
December 8th, 2006 at 1:30 am
[...] Ad Rotator [...]
December 9th, 2006 at 1:01 am
[...] Adrotator Plugin - Getting the boot from Adsense also gave me the incentive to break free from a twinkle-toed weenie-type resistance to broadening my ad solution set. Realizing how silly this was, I immediately jumped on finding a way to facilitate experimenting with a broad range of advertising. [...]
December 12th, 2006 at 6:42 pm
Many interesting information on your site - keep up good workl
December 18th, 2006 at 6:12 pm
[...] Tutorial em português. Ad Rotator Banners rotativos no seu blog. RSS Footer Plugin totalmente brazuca feito por Bruno Alves. Com esse plugin você pode por um banner no rodapé de cada post. Related Posts Esse plugin é o famoso Posts relacionados. Ele mostra os posts relacionados ao post que está visualizando.Muito bom. Google Sitemap Faça o sitemap do seu blog com esse plugin. Democracy Tutorial em Português. O melhor sistema de enquetes que eu conheço.Muito fácil de costumizar. Todo controlado pelo painel de administração.Funciona em AJAX. Menu Drop Down no seu Painel de Administração: Esse plugin faz abrir um menu drop down mouse-over no painel.Prático e eficiente. [...]
December 24th, 2006 at 5:54 am
Good Morning,
your plugin sounds great !
I am not actually interested to display ads (since the traffic to my website is quite low), but I would be interested to rotate my welcoming banner in the header..
Do you think this would be possible with your plugin ? Would I need to change sthg in your directions ?
Thanks for everything (Merry Christmas and happy new year)
Best Regards,
Vivalabamba
December 25th, 2006 at 5:10 am
Just Great!!! Nice displaying ads.I was looking for something similar into my website.
December 25th, 2006 at 6:18 am
Merry Christmas to you all.
> Do you think this would be possible with your plugin ?
Yes.
> Would I need to change sthg in your directions ?
Nothing. Just insert your banner code, following the directions above, instead of ad code.
December 25th, 2006 at 10:16 am
[...] AdRotator (http://blog.taragana.com/index.php/archive/wordpress-plugin-adrotator-rotate-your-ads-including-adsense-dynamically/) [...]
December 25th, 2006 at 7:25 pm
[...] You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site. Make aComment [...]
December 28th, 2006 at 4:48 am
[...] * Adsense Deluxe-offre opzioni avanzate per inserire Adsense nei tuoi post,limitando gli ads secondo il regolamento di Google * Adsense Injection - inserisce Adsense casualmente dentro un blog preesistente * Adsense Inline - Inserisce Adsense dentro ai post * Adsense Beautifier - Rende più bello il tuo Adsense inserendo un’immagine dietro ad esso per aumentare il CTR * AdSense Widget for WordPress Sidebar - * MightyAdsense - Ti permette di inserire adsense in wordpress senza modificare il template. Adsense è inserito nei post e puoi specificare quanti annunci mostrare in una pagina. * AdRotator Wordpress Plugin - Inserisce in rotazione il tuo Adsense con altri codici di affiliazione dove vuoi te * Adsense Earnings Wordpress Plugin -Mostra i tuoi guadagni adsense dentro il pannello di controllo di wordpress * WP-AdsenseProfit - Mostra i tuoi profitti di Adsense ai visitatori semplicemente inserendoun piccolo codice nel template * AdSense Sharing Revenue and Earnings System - Puoi vedere i tuoi guadagni con Adsense e condividere con amici o co autori le impressions degli annunci * Author Adsense Wordpress Plugin - Permette ai vari autori del blog di mettere il proprio publisher ID e mostrare i propri annunci nei propri post. L’amministratore può impostare una % di visualizzazioni [...]
December 28th, 2006 at 7:15 pm
great plugin
January 4th, 2007 at 1:01 pm
I have a question. I’m currently using your ad rotator plugin for two types of ads. One is to rotate a series of leaderboard ads at the bottom of my website, and the other is for skyscraper ads at my sidebar.
I’ve noticed that when I refresh, sometimes one or both of the ads are missing. They just don’t show up. I’m wondering if there’s a minimum number of ads that need to be in the rotation, or else they get skipped over sometimes. I have about 4 or 5 for each ad type.
I’m also wondering if maybe it’s because ad rotator can’t handle certain ads, such as those with Flash or use javascript.
I hope I’ve just overlooked something and it can be fixed right away. Thanks very much.
January 6th, 2007 at 5:45 am
[...] AdRotator Wordpress Plugin - rotates your adsense ads with other affiliate programs like Chitika Eminimalls wherever you want. Helps to reduce ad blindness and test different ad formats and affiliate programs. [...]
January 7th, 2007 at 6:02 am
[...] AdRotator Wordpress Plugin - rotates your adsense ads with other affiliate programs like Chitika Eminimalls wherever you want. Helps to reduce ad blindness and test different ad formats and affiliate programs. [...]
January 8th, 2007 at 7:42 am
Hi,
We are using Adrotator to rotate ads on our website. Everything is working as expected in IE but the ads don’t rotate in Firefox. Any thoughts on this will be greatly appreciated.
Thanks,
Vivek
January 10th, 2007 at 9:53 pm
[...] Ad Rotator This plug-in allows me to rotate all sorts of ads into the same ad location. When I got canned from Adsense, I decided to start employing some different ad strategies besides just finding a new ad provider. I love this plug-in. You can do some cool things with your site with this one- rotate in horizontal and vertical ads, for instance. Only downer, the text file you must keep on your server that holds the text for the different ads is rather cryptic and crude. If you want to delete some ads, you have to look at ad ID codes and what not, and be careful you only delete the right line of ad code. [...]
January 13th, 2007 at 7:32 pm
I have 1 male and 2 female English Bulldog For Sale please email jeffgibbson@yahoo.com
January 15th, 2007 at 1:12 pm
[...] To learn more about the Ad Rotator plugin please visit Simple Thoughts >> [...]
January 16th, 2007 at 1:26 am
[...] AdRotator Wordpress Plugin - rotates your adsense ads with other affiliate programs like Chitika Eminimalls wherever you want. Helps to reduce ad blindness and test different ad formats and affiliate programs. [...]
January 19th, 2007 at 10:01 pm
Works perfectly! Thanks very much!
February 27th, 2007 at 1:01 pm
Wow, thanks! I Will use it =) CIAO
March 17th, 2007 at 1:03 am
thanks for this great plugin!!1:P
carl
March 19th, 2007 at 11:57 pm
Thanks for such a great plugin, works like charm…
March 27th, 2007 at 9:58 am
very cool plugin to increase google adsense
education
blog
April 1st, 2007 at 10:43 am
I did the exact same thing.
-text file = “banner.txt” under “wp-content” folder.
-code = “”
-the code is Commission Junction ads. (do they work?)
Thank you.
April 4th, 2007 at 9:20 am
It works fine with Commission Junction ads. I use them too.
May 12th, 2007 at 4:30 pm
Any time I imagine some cool feature I could add to my WP blog, I find a plugin doing it, this one is simply great, I consider to get someone to help me with my site & to share revenue with
Thank You!!!
May 16th, 2007 at 3:53 pm
Hi there,
I’ve been using this tool to great success on http://www.thestonewailer.com for two months.
I use it for ads, but also I use it to rotate in cd reviews, indie musician gig dates, and relevant info related to the site.
What I’m wondering is: is there a way to change the top part of my sidebar, where it talks about Gonzo journalism, to rotate with a mission statement, or other content that I would like to randomly load at the top of the sidebar with each refresh?
Thanks,
Josh
May 16th, 2007 at 10:48 pm
> What I’m wondering is: is there a way to change the top part of my sidebar, where it talks about Gonzo journalism, to rotate with a mission statement, or other content that I would like to randomly load at the top of the sidebar with each refresh?
Sure, use the plugin to rotate your content.
May 18th, 2007 at 2:39 am
Very good plugin! All in one solution! thanks
May 18th, 2007 at 9:50 pm
Nice Blog..I’ll read this more on daily bases
May 22nd, 2007 at 7:29 am
Excellent, I am only missing the possibility of including it in the feeds ….
May 29th, 2007 at 12:42 pm
Great tool! I’m implementing it tonight!
May 29th, 2007 at 2:04 pm
The problem I have is that I use Instant Upgrade, that updates WP to the latest version of WP, but do not let you change the files afterwards (apart from the template).
Also, WP 2.2 modifies wp-rss2.php’s structure, so previous mods do not work.
Is there anyway that adrotator could be added to the feeds without editing the wp-rss2.php file ?
Thanks
May 31st, 2007 at 6:40 pm
homebrelobo, I use Instant Upgrade too. So that’s the culprit that keeps Ad Rotator from working?
June 5th, 2007 at 1:19 am
How to split single posts into many pages?
June 5th, 2007 at 1:20 am
kiya muia kiya muia
June 7th, 2007 at 4:22 am
Instant Upgrade works great in the blog itself, but if you modify the rss feed files to include it, you have to edit them manually.
And once you use Instant Upgrade, those files (feed-rss2.php in WP 2.2) have apache as the owner. That means that in order to edit them, you have to manually change the owner (chown) to yourself, edit them, and change it again to apache for next time you use Instant Upgrade ….
June 9th, 2007 at 7:13 am
@homebrelobo
The problem is with instant upgrade plugin. You should really contact them for a solution.
June 9th, 2007 at 3:17 pm
Not really …. instant upgrade is doing all in the right way …. Adrotator should have an option to be included in the feed without changing the feed php file ….
I know that is possible, “Buy me a beer”, “Socialize” and others do it. They get included in the content of the post and automatically get added to the feed.
Unfortunately I am not able to do it myself …
And don’t get me wrong, I love your plugin, that’s why today I went thru the pain of changing owners and all for another blog …. I rather do all of it that not using it ….
But I am trying to save me some time here ….
July 3rd, 2007 at 9:55 am
Works like a charm. Thank you very much!!
July 4th, 2007 at 6:50 pm
Very nice!!
July 5th, 2007 at 8:41 am
iam working with Adrotator.
i need one help.while scrolldown the advertsiment should come as and when i scrolldown.but it should be constant place.when i stop scrolldown the same ad.. should be there in place.
i want coding in PHP,
i need ur help As early as possible
July 11th, 2007 at 11:50 am
I was about to write it myself so this saved me an hour- thanks!
July 30th, 2007 at 6:13 am
I just finished installing another banner ad rotator script from other site but I think is this one as this is capable of rotating some text ad.
August 1st, 2007 at 2:25 pm
Great plug-in! One quick question: For some reason when I link my ads, it is adding my domain in front of the target domain.
So instead of the link being:
http://www.targetdomain.com
I am getting this:
http://www.mydomain.comhttp://www.targetdomain.com
This is the syntax I am using in my txt file:
Any thoughts?
August 2nd, 2007 at 11:03 pm
This is a great list of plugins. This type of list is priceless for the new kid on the block.
Thanks
Vic
August 12th, 2007 at 8:13 am
I do agree this is a cool plugin but I personally dont recommend people who are new into affiliate marketing to use this.
Reason: You will be disappointed if you spread your gains(profit) into many places. Focus on one. Why not rotate different ads of the same merchant to give you max. impact on sales.
Cheers!
p.s: a tracker would be good to know which ads get clicked most.
August 18th, 2007 at 7:49 am
Will the Ad rotator change the order of multiple ads in a side bar column.
The ads are all the same width.
I don’t want one ad displayed with each page loading,
rather I want half a dozen or 8 ads to all dispaly but be in a different order upon each page loading.
Mike
August 20th, 2007 at 11:53 pm
i would like to see a site that already uses this plugin can someone give me an link to check out please.
August 21st, 2007 at 7:14 am
i want to automatically rotate the add using
adrotator in asp.net
August 21st, 2007 at 12:07 pm
@south africa travel
This blog uses the plugin. The Einstein quotes at the bottom are delivering using the plugin.
@sajidhusain
You have to port it to asp.net
August 31st, 2007 at 2:55 am
thank you very much!
September 8th, 2007 at 11:58 pm
Would like to ask if it can rotate javascript ads?
September 20th, 2007 at 12:02 pm
Does anyone know if there’s a way of having more than 9 iterations of this? I use it to rotate graphics, giving me a different look every visit to my site… but why is it restricted to 9?
Any hack/edits you know of??
info@10cPlay.com