• Resolved Anonymous User 17686498

    (@anonymized-17686498)


    So, I am trying to verify my website on Google AdSense, since they don’t offer support, I am not sure what to do. In their instructions it says to put the code inside <head> </head>, but I made all my pages on Elementor canvas so I added plugin Insert Headers and Footers and added code there. When i try to verify it says it couldn’t find the code. Another thing, on their page it says to put this code:

    <script data-ad-client=”ca-pub-**********” async src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script&gt;

    but in the e-mail they sent it says this one:

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

    so I am not sure which one or they are the same.
    If you could anyhow help I would really appreciate it.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Thomas Maier

    (@webzunft)

    Hi valeri,

    thanks for reaching out.

    AdSense did indeed change the layout of the verification code. Both versions should work indefinitely, though.

    You can enable Advanced Ads > Settings > AdSense > Verification code & Auto ads within Advanced Ads to place the code automatically in the correct position.

    Once you did that, you can find the info “Auto ads enabled” under “Ad Health” in the frontend toolbar on your site. If you do then it is only a matter of time for AdSense to find it.

    Best regards,
    Thomas

    Thread Starter Anonymous User 17686498

    (@anonymized-17686498)

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding AdSense code in header’ is closed to new replies.