Google says to fix my Adsense code

Google says to fix my Adsense code

Occasionally Google sends out emails similar to the text below:

"We've noticed that the ads.txt file on one or more of your sites that you monetize through this AdSense account is missing the correct publisher code.

From mid-October, Google will stop buying ads on sites with ads.txt files which don't include the correct publisher IDs. We recommend you update your ads.txt files immediately to prevent impact to your earnings. Make sure the ads.txt file for each site you want to monetize through this account contains the snippet below."

If you want to know what the ads.txt file is, check out this Google Adsense support article.

But what do I do next?

Hosting clients can email the code in the email to Just title your email "snippet to add to ads.txt file" and we'll take care of the rest.

    • Related Articles

    • How to add an Adsense Ad to my blog

      There are many different ways to add advertising code to your website. Often, your ad network will supply a plugin to install, which deals with this for you.  If you have to add code manually, email our support team ( ...
    • How to use Google Tag Manager

      Google Tag Manager is a free tool that helps you manage tags (snippets of code, usually JavaScript, that send information to third-parties), on your website. It's particularly useful for tracking outbound links -- to see which links are being ...
    • Lost Google Analytics data: Read this before you “Configure your Google Analytics settings”

      Analytics plugins have been known to forget your Google Analytics ID code. If you have lost Google Analytics data, this article may apply to you, even if you don't use the particular plugin we discuss, or see this particular error message. If you ...
    • My Score on Google PageSpeed Insights is not 100. Why?

      Everyone knows that speed is important when it comes to having a successful site. Humans and bots alike will favour your site if it loads faster than all the others.  Some of our clients rely on Google PageSpeed Insights as the main tool to measure ...
    • Adding Performance Foundry to Google Analytics and Google Search Console

      When doing optimisation, or specific reports, we may need to get access to Google Analytics and/or Google Search Console.  In those cases, please follow the instructions below with these credentials: Google Analytics New User: ...