ad_unit.tpl.php in Simple AdSense 7
Template for ad unit.
1 theme call to ad_unit.tpl.php
- simple_adsense_block_view in ./
simple_adsense.module - Implements hook_block_view().
File
ad_unit.tpl.phpView source
<?php
/**
* @file
* Template for ad unit.
*/
?>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
</script>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="<?php
print $client;
?>"
data-ad-slot="<?php
print $slot;
?>"
data-ad-format="auto">
</ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>