Replace:
- “ca-pub-0000000000000000” – with your own ID.
- 3000 – with desired time (3000 – 3 seconds)
<script> setTimeout(function() { var externalScript = document.createElement("script"); externalScript.type = "text/javascript"; externalScript.setAttribute('async','async'); externalScript.src = "//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"; document.getElementsByTagName('body')[0].appendChild(externalScript); var ins = document.createElement("ins"); ins.setAttribute('class','adsbygoogle'); ins.setAttribute('data-ad-client','ca-pub-0000000000000000'); document.getElementsByTagName('body')[0].appendChild(ins); var inlineScript = document.createElement("script"); inlineScript.type = "text/javascript"; inlineScript.text = '(adsbygoogle = window.adsbygoogle || []).push({});' document.getElementsByTagName('body')[0].appendChild(inlineScript); }, 3000); </script>