Earnings at risk - One or more of your sites does not have an ads.txt file

Anyone facing the issue you can either upload the file using a FTP client or else if you are lazy like me can download this plugin.

there you can edit your ads.txt file save changes now go to example.com/ads.txt to verify.


Thanks a lot, my cute DEVIL! :kissing_heart:

1 Like

I am not sure really adding this file, will make any difference.

Unfortunately, Google doesn’t share same views as you and I’m not comfortable trading my earnings for a one line file.

1 Like

what is the meaning of this number f08c47fec0942fa0 ?

CAN I HAVE SAMPLE ads.txt file ?

Please read above topic response. As written, it’s Google Cert ID.

For sample, you can see https://help.gulshankumar.net/ads.txt

1 Like

I keep getting this error in my AdSense. Screenshot_20190605-141958_AdSense

I am wondering how I can check if I have it added and if not how can I.

1 Like

Hello friend, this is not about robots.txt but AdSense is asking to add ads.txt file.

How can I tell if it’s already added and if I had to add can you help me through the process.
Thank you as always

1 Like

For fixing this error, you only need to create an ads.txt file and upload it to your website, by doing so, you are giving Google rights to sell your ads inventory.

Ads.txt file contains:

<FIELD #1>, <FIELD #2>, <FIELD #3>, <FIELD #4>

Field #1 – Domain name of the advertising system

Field #2 – Publisher’s Account ID (Required)

Field #3 – Type of Account/Relationship

Field #4 – Certification Authority ID (Optional)

Follow the below steps to fix this error:

  1. Create a .txt file and name it Ads.txt.
  2. Add the below code in the file.

Note: Make sure to replace 0000000000000000 with your Publisher ID which you can find by going Settings>Account Information.

  1. Upload this file into the root directory, you can upload it using it Filezilla or you can download WP File Manager plugin and upload that using it.

Is this done correctly and thank you for your help.

They asked you to add Ads.txt and you are adding Ads.txt…txt

That’s how it converted i will fix. Is this correct now.

Can you just copy paste this in a single line and change the 00000000000000 with your publisher ID…

google.com, pub-000000000000000000, DIRECT, f08c47fec0942fa0

The file name should be in the small letters.

Right: ads.txt
Wrong: Ads.txt


Try this plugin



many Adsense users facing this problem these days, I m also facing this problem. I already added the ads.txt file in my site but ads not showing.

1 Like

Tell your url

1 Like