I've been running phpAdsNew on our site,
http://www.shroomery.org/forums/ubbthreads.php, for quite a while now. I don't exactly do it "by the book" but it works great.
For instance on ubbthreads.php
// Require the library
require ("main.inc.php");
require ("languages/${$config['cookieprefix']."w3t_language"}/ubbthreads.php");
///// ADS INCLUDE ///////
require("../ads/phpadsnew.inc.php");
~
~
~
// ------------------
// Send a html header
$html = new html;
$html -> send_header($config['title'],$Cat,0,$user);
/////////////////////////// SHOW BANNER ///////////////////////////////////
view("rotate", "_blank");
This would pull a random banner than has the "rotate" keyword and open in a new window when clicked on.
If you are wanting to show the banner of a certain advertiser you just use the banner ID #, like so:
view(3, "_blank");
Hope this helps a little