How to Solve Earnings at risk-One or more of your ads.txt (SOLVED)

If you recently get the error “Earnings at risk – One or more of your sites does not have an ads.txt file. Fix this now to avoid severe impact to your revenue.” in Google Adsense and worry about your earning. follow the method showing below to solve the issue.

How to Solve Earnings at risk – One or more of your ads.txt

One day you login into your AdSense account and got this error on the red mark “Earnings at risk – One or more of your ads.txt files doesn’t contain your AdSense publisher ID”. Fix this now to avoid severe impact to your revenue”. If you see this type of error notification in your AdSense account then your AdSense ad serving will stop and revenue stops. To recover your AdSense ad serving on your website you must solve the issue “Earnings at risk – One or your revenue”.

Now you are in the right place so your problem will solve as quickly as you understand this post. Before solving the AdSense error you must understand why this reflects on your website. When you added the ads.txt file to your website and didn’t enter the Google AdSense publisher id to ads.txt file then your ad serving will stop and revenue earning stop.

What is the Ads.Txt file?

Ads.Txt file is a Text format file that includes online advertising. Interactive Advertising Bureau (IAB), the international authority which defines the online adverting standard which called the Ads.txt file.

Ads.txt includes the four-part field.

<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)

Read more:

Why Show Earnings at risk in Google AdSense Account?

publisher id missing from ads txt files

If you added the ads.txt file in your website or blog but didn’t update Google publisher is as shown above four field information then your AdSense ads will stop showing on your website and revenue earning stopped. Although ads.txt not mandatory to add to your website.

You may get the notification to ads.txt on your website from infolinks or any other digital media platform. But after adding this file your AdSense will be affected until you do not update ads.txt file with Google AdSense Publisher ID and other details as per IAB standards.

Earnings at risk – One or more of your ads.txt solve in Google AdSense.

If you getting the error then now is the time to fix it. See how to get Google AdSense publisher id details to add in an ads.txt solve this error you have to add your AdSense account Publisher ID.

See how you can get Publisher ID for your AdSense account?

Login your Adsense Account Now

Method 1 – click on the Action button on the notification error to get your Publisher ID

You can also get your publisher ID from Account settings in Adsense account.

  1. Create a text (.txt) file.
  2. Include the following, pub-0000000000000000, DIRECT, f08c47fec0942fa0
    Important: Make sure you replace pub-0000000000000000 with your own publisher ID.
  3. Host your ads.txt file at the root level of your domain. (for example,

How to Fix ads.txt error message on Google AdSense account

Now you will see the details with instruction on how to integrate it with your ads.txt file.

Note: Please this is a Sample file do not copy this your original ID from your AdSense Accounts.

Sites with ads.txt issues

Error_outlinePublisher ID missing from ads.txt files

You need to add your publisher ID to the following ads.txt files:

  • Tech********.com/ads.txt

This will prevent a potentially severe impact on your earnings. Copy and paste the following code snippet into each ads.txt file:, pub-519276695XXXXX, DIRECT, f08c47feXXXXXXX

If you’ve already done this, please allow our systems up to 24 hours to reflect the changes.

How to Create and Manage Ads.txt files in WordPress

Method -2

After login, AdSense account go to my site option to get Publisher IDs


  1. Copy this ID and past in your website ads.txt file. Its take up to 24 hours to update in the Google AdSense server to revive your ad serving in the website.

My Adsense dashboard shows "Earnings at risk

How to edit and add Google Publisher ID in ads.txt in WordPress

To add the Ads.txt file to your WordPress site please log in to the WordPress site and go to Plugins.

Add New Plugins.

Here you have to install new plugin which supports the ads.txt editor.

how to install ads.txt in blogger

1: Search ads.txt

2: You will get simple ads.txt plugins. Click install now button and

Make Active plugin to use.

why i need ads.txt


Now open the ads.txt plugin.

Go to settings-Ads.txt Editor

How to Setup and Manage WordPress Ads.txt files?

Now you will see a box to paste text.

Paste your Google AdSense Publisher ID in this box and save changes.

is it mandatory to add ads.txt for adsense

Please, this change will affect at least 24 hours after adding this file. Wait until the AdSense account updated with your latest changes.

see Related Post