help adding Google adsense HTML to my site

  • 0
  • 1
  • Question
  • Updated 1 week ago
I'm trying to monetize my site using google advertising. However, google wants me to put the following html code in my head section of my site

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-5573346399523009",
    enable_page_level_ads: true
  });
</script>

But, I try adding it to the meta section and it says the code is not a valid meta tage. I also tired using the html box available and placed in the header of sitebuilder, but google is still not picking it up.

I need help!
Photo of astanley1257999

astanley1257999

  • 150 Points 100 badge 2x thumb

Posted 1 week ago

  • 0
  • 1
Photo of Les6064

Les6064

  • 6,074 Points 5k badge 2x thumb
Hi astanley1257999,

Google should be able to help, as they are the ones that are offering the service.