Hi, this works for me:
- Create a html file like so..
<!DOCTYPE html><!--HTML5 doctype-->
<html><head>
<head>
<title>Google Adsense</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
</head>
<body>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Mobile Banner -->
<ins class="adsbygoogle"
style="display:inline-block;width:320px;height:50px"
data-ad-client="ca-pub-6887935823876135"
data-ad-slot="8629732603"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</body>
</html>
[/code:2hqikz1z]
- Change the bit in the middle with the code from google adsense: [url=http://prntscr.com/35sj11]http://prntscr.com/35sj11[/url]
- Upload the html file to a server
- In construct 2, link the html file to the iframe like this: [url=http://prntscr.com/35shhj]http://prntscr.com/35shhj[/url]
- Laugh <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">
—
The only problem I see with this is that it is an adsense violation to place ads in an iframe in this manner.
support.google(DOT)com/adsense/answer/1346295