Script Request

I am looking for a script that will allow me to run multiple advertising campaigns on my website via pageviews?

It would need to be able to run on both wordpress and IPB forum software also.

Any help would be much appreciated.

What do you mean? You asking for whether such a script exists on the internet? Doubt it.