Adsense in my project Android

Get help using Construct 2

Post » Thu Jan 16, 2014 6:22 pm

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.
B
6
S
1
Posts: 33
Reputation: 535

Return to How do I....?

Who is online

Users browsing this forum: mindragon73 and 14 guests