Adsense in my project Android

0 favourites
  • 1 posts
From the Asset Store
With this template you can create your own archer game and customize it however you want.
  • Hello, I would to enter my script (Adsense Unit) in my project. It is a banner in bottom, example:

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

    <!-- puzzle slide blox -->

    <ins class="adsbygoogle"

         style="display:inline-block;width:320px;height:50px"

         data-ad-client="ca-pub-myid"

         data-ad-slot="myslot"></ins>

    <script>

    (adsbygoogle = window.adsbygoogle || []).push({});

    </script>

    If I enter this code before tag </body> in a div with position fixed, the apk generated by cocoonjs doesn't work!

    But if I delated this code, apk works. Why? Is there a specific method to enter the unit Adv?

    Regards.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)