Adding Adsense to all Listings – PHP My Directory Script Posted on December 20, 2014 by Imran Rashid Reading Time: < 1 minuteTo add Google AdSense into listing pages, add the adsense code directly into template/xxxxx/listing_default.tpl. Look for <?php echo $map;?> and add the adsense code just before or after.