Earnings at risk – You need to fix some ads.txt file issues to avoid severe impact to your revenue

That warning means Google AdSense has detected issues with your ads.txt file, and if you don’t fix them, you could lose ad revenue. The ads.txt file (Authorized Digital Sellers) tells ad networks which companies are allowed to sell ads on your site — protecting you from fraud and improving transparency.

Here’s how to fix it:


✅ Step 1: Download the Ads.txt File from AdSense

  1. Log in to your AdSense account.
  2. On your homepage, you’ll see the warning “Earnings at risk – fix ads.txt file issues.”
  3. Click “Fix now” or “Download.”
    • You’ll get a .txt file (something like this): google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
    • pub-0000000000000000 should match your publisher ID (find it in AdSense → Account → Settings → Account information).

✅ Step 2: Upload Ads.txt to Your Website

  1. Connect to your website root directory (via FTP, File Manager in cPanel, or VPS SSH).
    • Example: /public_html/ or your domain root.
  2. Upload the ads.txt file to the root (not in a subfolder).
    • After upload, you should be able to visit: https://yourdomain.com/ads.txt
    • and see the contents of the file.

✅ Step 3: Verify the Changes

  • Go back to your AdSense account.
  • It can take up to 24 hours (sometimes longer) for Google to detect your ads.txt file.
  • The warning will disappear once everything is correct.

⚠️ Important Notes

  • If you have multiple domains in AdSense, you need an ads.txt file for each domain.
  • If you use WordPress, you can use a plugin like “Ads.txt Manager” to add the entries.
  • Make sure the ads.txt file is plain text, not Word or HTML.

👉 Do you want me to generate the exact ads.txt content for your site if you give me your AdSense publisher ID?

Leave a Comment

Your email address will not be published. Required fields are marked *