Quick summary
Adding an ads.txt file to WordPress is required to verify your authorized digital sellers and fix Google AdSense warnings. This step-by-step process uses the WP File Manager plugin to create and upload the ads.txt file directly to your root domain.
Steps
- Log in to your Google AdSense account, navigate to the relevant page, and click "Fix Now" to begin the ads.txt setup.
- Click "Download" to get the ads.txt file provided by Google AdSense.
- Select the downloaded file and save it — you will need to upload it to the root domain of your WordPress site.
- Go to your WordPress dashboard and select "Plugins" from the sidebar menu.
- Search for "File Manager", click "Install Now", and then select "Activate" to enable the plugin.
- Navigate to "WP File Manager" in the left toolbar, then click the "Add New File" button to proceed.
- Select "TXT: Plain text" as the file type and name the file "ads.txt".
- Locate the newly created file, right-click on it, and open it with the "Code Editor".
- Paste the code copied from Google AdSense into the file, then click "Save and Close" to complete the setup.



