Google Adsense with CakePHP?

1

I'm trying to put an adsense banner in CakePHP and I'm not getting it, the banner just does not show up. How to do this?

footer.ctp

<footer>
<?php echo $this->fetch('script');?>

    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

        <ins class="adsbygoogle"
             style="display:block"
             data-ad-client="ca-pub-XXXXXXX"
             data-ad-slot="5082072999"
             data-ad-format="auto"></ins>
        <script>
        (adsbygoogle = window.adsbygoogle || []).push({});
    </script>

</footer>
    
asked by anonymous 18.12.2015 / 19:30

1 answer

0

From what I saw in the documentation there is a problem:

  

It may be necessary to wait up to 48 hours for   Google to appear and up to a week before AdSense for   begin to work on your sites, while   our servers by changing your account status. appreciate   your patience.

Would not that be the problem?

    
18.12.2015 / 20:03