1:09Ep 3: Fix “Earnings at risk”, the ads.txt alert
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 WebsiteUp next in this series
1:14Ep 7: Begin-to-render: your impression count changes in February 2027Ep 7: Begin-to-render: your impression count changes in February 2027
1:06Ep 1: RPM dropped overnight? Five checks before you panicEp 1: RPM dropped overnight? Five checks before you panic
1:05Ep 2: Traffic problem or RPM problem?Ep 2: Traffic problem or RPM problem?