Google has announced that it will release a new version of its AdSense code that will improve ad performance. I expect it to work better with the page experience update and key web vitals metrics.
Google wrote that “a new version of the AdSense code has recently been introduced. The new AdSense code allows AdSense to trigger optimization features earlier that can improve the performance of the ads on your website. The new ad code works for both auto ads and also for ad units “. . “
Here’s what the new auto ad and ad unit code looks like (click to enlarge):
Google said you don’t need to update the old code to the new code. Google wrote, “There is no need to replace the existing ad code on your website.” “However, you are welcome to update your ad code if you would like to take advantage of the new optimization features,” added the company.
Google also said you avoid mixing old and new ad code on the same page.
Is anyone testing this to see if the new type of code does better with Core Web Vitals?
Forum discussion on Twitter.