Adsense ads not showing and ads.txt warning


For some reason, my Adsense ads have stopped showing on my websites. Today I noticed a warning in my account saying:

“Earnings at risk – One or more of your sites does not have an ads.txt file. Fix this now to avoid a severe impact on your revenue.”

I have now added this file, but the ads are still not showing and the error message is still showing.

Does anyone know how long this takes to update?


Once an ads.txt file is set up on your domain, the Google crawler will:

  • Attempt to crawl the file every 24 hours.
  • Parse the content of the file to determine seller IDs that are authorised to monetise your inventory.
1 Like

Thank you.

Does this explain why my site doesn’t show the ads anymore? When I check the sites, the space that an ad normally takes up is there, e.g. a square. There is just nothing there.

From what I understand it should not stop the ads being displayed. I should dig around in your AdSense account and see if there’s anything amiss. If not, check your code.

Nothing has changed including code.

I’ve googled it and it says the account is suspended, but i’ve checked my status and the account is open.

Any ideas?

Ah well, if the account is suspended that would account for your ads not showing!

If there are no clues as to why it’s suspended and no way to re-activate it, you’ll need to contact Google. I doubt the account was suspended because of the ads.txt file.

Thanks for the reply

My account is not suspended- it’s open


I’m still a bit at a loss as to why my ads aren’t showing.

The ads.txt file was added after they stopped appearing.

And this is what is on that file:, pub-XXX, DIRECT, XXX

I have also recently made a change to my robots.txt file which has the following in:

User-agent: *
disallow: /company/
disallow: /company/*
disallow: /company-dashboard
disallow: /phase-2

My account is saying open in the status.

Does anyone have any ideas why they would stop showing?


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.