Ripefruit

  • About Us
    • About Us
      • Acceptable Use
      • Privacy Policy
      • T & C
    • Contact Ripefruit
    • In Progress
    • Not For Profit
    • Partners
  • What We Do!
    • Advertising
    • Publications
    • Web Design
  • Clients
    • Billing
    • Client Login
    • Resources
      • Friends
      • Service Status
    • Support
  • IT Talk
    • Domain Names
    • Hosting
    • Internet
    • Search
    • Services
    • Software
    • Technical
  • Contact Us
    • Contact Us
    • Site Map
You are here: Home / IT Talk / Technical / Missing ads.txt Earnings At Risk – FIXED

Missing ads.txt Earnings At Risk – FIXED

How To Fix missing Ads.txt File

In our case, Google was incorrectly reporting that websites were missing ads.txt file.

For months, the “Earning at risk” message showed in Adsense for some of our busiest websites. The message would sometimes disappear for a website, only to re-appear.

Each time we checked the ads.txt file was definitely there, in the correct location (public_html) but still we see..

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

FIX – MISSING ADS.TXT FILE

In 2020, we discovered Google looks for the file (ads.txt) in the root without www.

The root of our websites is: https://www.example.com/ads.txt (not https://example.com/ads.txt).

We added this code to .htaccess file and a few days later the number went from 17 missing files to 0.

This code redirects the user from without www to with wwww.

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]  

Download the code

  • code-htaccess-rewrite (Notepad)

Google has a help page and a Troubleshooting ads.txt issues page.

Google = 3 issues and fixes

  1. Your site doesn’t have an ads.txt file – download and add it
  2. Your publisher ID is missing from your ads.txt file. – Copy your publisher ID and add it to your ads.txt file
  3. You’ve uploaded your ads.txt but AdSense still says you need to create one. – Please wait a few days (up to a month).

To verify that you published your file correctly, check access the ads.txt URL (https://example.com/ads.txt) in your web browser.

PS: kudos Google!



Please LIKE or tell a friend..



Post Views: 800

Also See..


  • Fixing WordPress Speed Issue
  • Missing Bootstrap navbar toggler icon fixed
  • Don’t Risk Your Search Ranking
  • WS_FTP LE | Profiles Missing
  • WordPress Admin Protection

Recent Posts

  • How We Solved a Encoding Issue (Thanks to ChatGPT)
  • Windows 11 Not Seeing Keyboard at PIN Login = Fix
  • WooCoomerce: Buy Now + Affiliate Link + Cart – FIXED

About Brian King

Managing director and senior editor at Ripefruit Media

  • Email
  • Facebook
  • Twitter
  • YouTube

For Advertisers

  • Advertising FAQ
  • Contact Us
  • Content Changes
  • Website Network

IT Talk

  • How We Solved a Encoding Issue (Thanks to ChatGPT)
  • Windows 11 Not Seeing Keyboard at PIN Login = Fix
  • WooCoomerce: Buy Now + Affiliate Link + Cart – FIXED
  • Why WP Engine Affiliate program migration from ShareASale to Everflow is a WASTE of time
  • how to hide nvidia pop up
  • Facebook Wishlist: Edit Featured Pin’s
  • What is the best shopping cart?
  • file explorer not responding FIX

Keywords

admin affiliation attack australian avg brute force business cache change domain name ebay email facebook fix form for sale fraud google hosting how to htaccess image ip ip address LastPass mobile password Phishing pin plugin ranking removal remove responsive scam security seo software spam toontown web site website Wordfence wordpress wpmu dev

SiteMap

  • About Us
  • Acceptable Use Policy
  • Advertising
  • Contact Us
  • Digital Publications
  • Domain Names
  • Email
  • Home Page
  • Hosting
  • Internet
  • Publishing
  • Software
  • Technical
  • Search
  • Services
  • Web Design
  • About Us
  • What We Do!
  • Clients
  • IT Talk
  • Contact Us


Copyright © 2025 · Ripefruit

Ripefruit acknowledges and pays respect to Aboriginal and Torres Strait Islander Elders past, present and future. We commit to building a kind future for everyone.