Hi guys, good morning :), somebody know how use Openx (php app) with Django?, i need to use openx or similar soft for ads.
Thanks :)
Hi guys, good morning :), somebody know how use Openx (php app) with Django?, i need to use openx or similar soft for ads.
Thanks :)
You can implement Openx using javascript, so as long as you run Openx on a php server, that should be easy.
Header, something like this:
<script type='text/javascript' src='http://something.here/delivery/spcjs.php?id=1&amp;block=1'></script>
And then, something like this where you want to put you ad.
<script type='text/javascript'>
OA_show(1);
</script>
<noscript>
<a target='_blank' href='http://something.here/delivery/ck.php?n=112bda3'>
<img border='0' alt='' src='http://something.here/delivery/avw.php?zoneid=1&amp;n=112bda3' /></a>
</noscript>
OpenX generates all this code for you.
Here's a project that gives you API integration. If you only want to serve ads, you don't need it though, you just have to paste the javascript provided by OpenX.