+3 votes
in Web & Google by (73.8k points)

I got the following message in my Adsense account: "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"

How to declare authorized sellers with ads.txt?

1 Answer

+2 votes
by (348k points)
selected by
Best answer

Here are the steps you should follow to fix this issue:

1. Create a text file 'ads.txt'

2. Add the following line to 'ads.txt'
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0

Replace 'pub-0000000000000000' with your Adsense publisher-id.

3. Login to your webserver using SSH or any FTP client. Move 'ads.txt' to the root level of your domain. If you are using Apache, the root will be 'public_html' folder.

Within 24 hours, that message should be gone from your account.