How do I Put Full screen ads

Get help using Construct 2

Post » Fri Aug 21, 2015 5:46 pm

Help me out please . I have java script code to show full scree ads like this ..

<script language="javascript" type="text/javascript">
var _sa = _sa || [];
_sa.push(["initialize","c57c634d-2bab-4350-95dc-2dd4d477e6bc"]);
_sa.push(['displayAd']);
(function () {
var sa = document.createElement('script');
sa.type = 'text/javascript';
sa.async = true;
sa.src = '//ads.appnext.com/ad/source.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(sa, s);
})();
</script>


Can any one tell me how to execute this code and show full screen ad when my layout starts ?
B
8
S
1
Posts: 45
Reputation: 532

Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], tdcostas and 12 guests