How to reduce google ads affect on core web vitals?

Hi Guys, Recently my blog got google ads approval, and then I applied auto ads(experiment) to test the ad performance. after 4-5 days of applying the ads, the ranking of my blog posts dropped and my traffic also dropped.

When I checked the page speed inside I found that my blog PSI score is reduced to 27 (due to ads). It was 80+ before.

What can I do to improve this?

Kindly share your methods/tips.

  1. Delay ad script.
  2. Avoid auto ads and use manual ones.
  3. Switch to a premium ad network
    4)avoid ads in first screen view
1 Like

Remove from all ad units

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

Use instead

<!--noptimize-->
<script type="text/javascript">
function downloadJSAtOnload() {
var element = document.createElement("script");
element.src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js";
document.body.appendChild(element);
}
if (window.addEventListener)
window.addEventListener("load", downloadJSAtOnload, false);
else if (window.attachEvent)
window.attachEvent("onload", downloadJSAtOnload);
else window.onload = downloadJSAtOnload;
</script>
<!--/noptimize-->

What will happen?

  • Once web page finish loading, then advt will start loading in the last.
1 Like

Thank you, Gulshan Bhai.

Okay. Thank you.

and where should I use publisher ID?

Your Publisher ID will exist in ad code as usual.

See this article to learn more

1 Like