1:09
AdSense clinic

Ep 3: Fix “Earnings at risk”, the ads.txt alert

1:09 · November 11, 2026

Red Earnings at risk banner in AdSense? It's usually one missing line.

Lesson notes

Red Earnings at risk banner in AdSense? It’s usually one missing line.

ads.txt is a public file listing who may sell your ads.

It lives at your root domain, like news.example/ads.txt. If the file exists but your publisher ID isn’t in it, Google won’t buy ads on those requests. The fix. One, in AdSense, open Sites and find the site marked Not found or Unauthorized. Two, copy the exact line AdSense gives you, starting google dot com, your pub ID, DIRECT. Three, paste it into the file at the root. Then load it in a browser to confirm. Three traps. The file sits in a subfolder. The www and bare domain don’t reach the same file. Or robots.txt blocks it. Updates can take a few days.

Today, open your domain/ads.txt and find your pub ID.

Next: page level versus site level policy violations.

Go deeper · 2 min readAds.txt Example: How to Implement Ads.txt for Your Website

Up next in this series