Ripefruit

  • About Us
    • About Us
      • Acceptable Use
      • Privacy Policy
      • T & C
    • Contact Ripefruit
    • In Progress
    • Not For Profit
    • Partners
  • What We Do!
    • Advertising
    • Publications
  • 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!

Post Views: 26

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

  • Hostjacking: Hosting & Domain Name Hijacking
  • Google: Content wider than screen FIXED
  • Managing SPAM 2022: SpamBully

About Brian King

Managing director and senior editor at Ripefruit Media




RIPEFRUIT

PO Box 12728, Franklin Street,
Melbourne VIC, Australia. 8006

  • Contact Us
  • IT Talk
  • Publications
  • Site Map
  • Web Design
  • WordPress




Latest Articles

  • Hostjacking: Hosting & Domain Name Hijacking
  • Google: Content wider than screen FIXED
  • Managing SPAM 2022: SpamBully
  • spamrl.com – UN-Reputable Blacklist
  • How to Block Repeat Spammers

Tip Of The Day

Always choose the sweetest

RIPEFRUIT

RIPEFRUIT MEDIA

  • Advertising
  • Partners
  • Website Network
  • Contact Us
  • About Us
  • What We Do!
  • Clients
  • IT Talk
  • Contact Us

Copyright © 2023 · Ripefruit | Billing | Support