Site icon Anthony Carbon

Google Adsense javascript error.

How to fix this kind of error? This is showing on your console of a browser.

adsbygoogle.js:35 Uncaught TagError: adsbygoogle.push() error: All ins elements in the DOM with class=adsbygoogle already have ads in them.

With this codes below, your problem is solve.

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
jQuery(document).ready(function($){
$('ins').each(function(){
(adsbygoogle = window.adsbygoogle || []).push({});
});
});
</script>
Exit mobile version