You could build/modify a small script to do it ~ I've modified a couple of ppc JS scripts before and had them close enough
The Problem is - Most PPC Engines with Great Payouts Require a good bit of Traffic to begin with and their scripts are usually not easy or allowed to be modified ~
For the news side - a lot of sites are now using moreover.com and their scripts ~