View Full Version : Banner Ad Rotation Software
LloydEd
01-05-2006, 05:04 PM
I am looking to add banner ad rotation to my yellow pages website, which is written in PHP.
Any suggestions on or experience with existing PHP software?
dilligaf
01-05-2006, 06:25 PM
Floating a random ad/link has gotta be nothing. Have you tried any of the script repositories, I'd guess there would be hundreds? I just started screwing around with ops in php so I won't be of much help otherwise just yet.
clasione
01-05-2006, 10:24 PM
This is really simple - but it works:
create file whatever.js
Stick this in it:
//Javascript
//Rotate Banners
images = new Array(5);
images[0] = "<img src='http://www.yoursite.com/banners/1.gif' onClick=window.open('http://www.targetsite.com') border='1'>";
images[1] = "<img src='http://www.yoursite.com/banners/2.gif' onClick=window.open('http://www.targetsite.com') border='1'>";
images[2] = "<img src='http://www.yoursite.com/banners/3.gif' onClick=window.open('http://www.targetsite.com') border='1'>";
images[3] = "<img src='http://www.yoursite.com/banners/4.gif' onClick=window.open('http://www.targetsite.com') border='1'>";
images[4] = "<img src='http://www.yoursite.com/banners/5.gif' onClick=window.open('http://www.targetsite.com') border='1'>";
index = Math.floor(Math.random() * images.length);
document.write("<DL>\n");
document.write("<DT>" + "" + images[index] + "\n");
document.write("</DL>\n");
//done
Call it with this:
<script src="http://www.yoursite.com/whatever.js"></script>
Robert Paulson
01-06-2006, 05:07 AM
phpAdsNew is free, open source. Has good reports.
Do a little reading about defeating Norton's Internet Security ad blocking software on their forum before you set it up - it'll save you a little time later having to re-work things.
sarahk
01-06-2006, 09:59 AM
phpAdsNew (http://phpadsnew.com/two/) is awesome! Don't be put off by the dreadful website, the software itself is excellent.
LloydEd
01-06-2006, 11:57 AM
Robert Paulson and Sarahk,
Are you currently using phpAdsNew or have you used it in the past?
I am going through the script repositories and found BannerBlair v2.0, which is another free script. The download page is located at http://www.blairsolutions.com/?p=3.
This is what I want to the banner rotation software to do. I have joined some affiliates that I think will be beneficial to my advertisers. So on some of my pages, I want to include their affiliate ads in one common area that rotates the ads.
Robert Paulson
01-06-2006, 12:09 PM
I use it on two sites and will continue to use it. It has a nice control panel, both for administrators and for advertisers. You can deliver via geotargeting or not. You can deliver via php, javascript and couple other options. You can allow advertisers to modity their own campaigns, or not. You can have reports sent to advertisers, or not. You can deliver rotating text ads. If the demo of the script in your link is all you get for an admin CP, you'll find there's quite a bit more in phpAdsNew.
LloydEd
01-06-2006, 01:45 PM
Robert,
In a prior reply you answered "Do a little reading about defeating Norton's Internet Security ad blocking software on their forum before you set it up - it'll save you a little time later having to re-work things."
I read the work that was required to accomplish defeating Norton's Internet Security ad blocking.
Did you implement these changes on your sites or did you install phpAdsNew without the changes? Is it appropriate to ask you for the urls of the sites?
Robert Paulson
01-06-2006, 01:59 PM
It's probably appropriate to ask for the URL's, but I won't give them out. Sorry. To answer your question, I've done both. I was building a new site at the time I 'discovered' the problem - so one site was a retrofit, the other was 'amended' during initial installation. Either way, it's pretty easy - you just have to make sure to do it, or loads of ads will not show for visitors. BTW, as I understand, this is an across-the-board thing, not just phpadsnew. Any URL's with a path that includes /ad(s)/ or /banner(s) will get blocked, or file names that include the same, as will any banner that is of IAB standard size. For me that just means creating campaigns that are one pixel larger in a single direction (469x60, for example).
Mine isn't a perfect fix, but I'm no master coder, either. Pretty green, actually.
Hope that helps.
sarahk
01-08-2006, 11:10 AM
Take a look at http://www.propertytalk.comWith this script you can load all of your banner ads into it and it automatically cycles through them dynamically without the page being refreshed. Not only does it cycle through the ads automatically, but visitors can also drop down and view all of your banner ads at the click of a mouse. This script is perfect for those who have multiple banner ads and those who use Commission Junction, Linkshare, BeFree and other similar affiliate programs.I can see the point of rotating through the ads automatically and that's quite a good feature but I can't see a user ever wanting to view all the ads at once.
And it does so much less than phpAdsNew it's just not funny. Only suitable for sites with a single banner location and with no customer management, reporting, billing etc.
vBulletin v3.0.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.