Adsense Advice “Your site does not have ads.txt file.” How to Resolve Alert?
In short, you have received such a warning from google in order to gain additional management and decisive rights in advertising. The whole warning; Your earnings are at risk: One or more of your sites has no ads.txt file. Correct this issue immediately to prevent your revenue from being adversely affected.
Yes, I will help you to create the “ads.txt” file mentioned in the warning in this article.
Create Adsense “ads.txt” File
– Provide user login to your web administration panel or via FTP.
– The root directory of your website / public_html (for Cpanel) – Create a file named ads.txt in the httpdocs (for Plesk panel) folder.
– Copy and paste the following lines into the file;
google.com, pub-00000000000000000, DIRECT, f08c47fec0942fa0
Important! You should replace pub-0000000000000000 with your own publisher ID. (If you don’t know your publisher ID, you can find out in the subheading methods.)
NOTE: It may take a few days for the alert to disappear after google has reviewed and approved the actions taken. After that, the only thing to do is wait.
As a result, the file path you added will be as in the example. (E. Https://example.com/ads.txt)
If you visit the address of your site with the name of the site after creating the file, you can see that the file has been created.
Learn Adsense Publisher ID
Sign in with an account
– Sign in to Adsense
– Enter the “Account” menu from the left panel.
– Enter “Account Information” from the drop-down menus.
– You can see your “Publisher ID” in the first row.
Learn by Email
Open your Adsense email box and find the “Welcome to AdSense” email in the search section to get your “Publisher ID” at the top.