New Changes in Google AdSense Ad Code

Hey! if you are AdSense user and you are already added AdSense ad code in your website, So read the new article about AdSense code from Google.

Read Article – Click Here

What is Change

All code is Same but new line added in script section. You can replace new ads code or you can add this line on ads code-

New Linecrossorigin=”anonymous”

example

Auto Ads
<script async src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-XXXXXXXXXXXXXXXXXXX” crossorigin=”anonymous”></script>

Ad unit
<script async src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-XXXXXXXXXXXXXXXXXXX” crossorigin=”anonymous”></script>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-XXXXXXXXXXXXXXXXX”
data-ad-slot=”XXXXXX”
data-ad-format=”auto”
data-full-width-responsive=”true”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>