Google releases a new ad code in AdSense

Google says the new AdSense code allows AdSense to trigger optimization features earlier which can improve the performance of the ads on your site.

Google releases a new ad code in AdSense

Google today released a new ad code in AdSense, the program that provides publishers a way to earn money with programmatic ads on their online content.

Google says the new AdSense code allows AdSense to trigger optimization features earlier which can improve the performance of the ads on your site.

The new ad code works for both Auto ads and ad units, and Google is recommending publishers to update the ad code if they want to take advantage of the new optimization features.

New Auto ads code example

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1234" crossorigin="anonymous"</script>

Old Auto ads code example

<script data-ad-client="ca-pub-1234" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>


PPC Land is an international news publication headquartered in Frankfurt, Germany. PPC Land delivers daily articles brimming with the latest news for marketing professionals of all experience levels.

Subscribe to our newsletter for just $10/year and get marketing news delivered straight to your inbox. By subscribing, you are supporting PPC Land.

You can also follow PPC Land on LinkedIn, Bluesky, Reddit, Mastodon, X, Facebook, Threads, and Google News.

Know more about us or contact us via info@ppc.land

Our latest marketing news:

Subscribe via email

Don’t miss out on the latest marketing news. Sign up now to get the articles directly in your email.
jamie@example.com
Subscribe