Hello,
We are not using adsense ads, but doubleclick server ad on our site. When i put a code “non adsense” it doesn’t show on the theme, even if they are the same dimensions of a normal adsense blocks.
Exemple of ad code
<script type=”text/javascript”>
var ord = window.ord || Math.floor(Math.random() * 1e16);
if(typeof(v_tile)==”undefined”){var v_tile=1}else{v_tile++}
document.write(‘<script type=”text/javascript” src=”http://ad.doubleclick.net/N5902/adj/rnbjunk/home;sz=300×250;tile=’+v_tile+’;’+JADV_DFP_SEM+’ord=’ + ord + ‘?”><\/script>’);
</script>
<noscript>
</noscript>
Hi,
You can find the function for rendering google adsense and other ads are rendered here: http://screencast.com/t/O7gB3e1L
Hope this helps!
Thanks
-
This reply was modified 11 years by
Lucian.
Hi,
In the td_ad_box.php you would need to make your customization and try to add another case for double click ads or modify existent ones.
Note that for each ad box an shortcode will be created and rendered trough the render function: http://screencast.com/t/BR6PaojQ6KZ
If you don’t know how to do this yourself we suggest to hire a developer to help you with it as you would need custom work fort this.
Thanks
-
This reply was modified 11 years by
Lucian.
rnbjunk , I’m looking for a similar solution to use Google DFP in all the ad locations. What have you come up with?
Thank you.