Google Adsense - How to Create an ads.txt File

Google Adsense recommends your site include an "ads.txt" file.
This file helps advertisers verify that your site is approved to use Google Adsense ads.

Using Google Adsense without this file will significantly reduce your earnings potential from Google Adsense.

Before you create this file, create a Google Adsense account thru Google.  Once that is done, make a copy of your Google Adsense Publisher Id.  Go to your account information page in Google Adsense to copy your Publisher Id:
Once your have your Publisher Id, create your ads.txt file.

A template for an ads.txt file has been installed on your site in the root directory with the filename of ads.txt-TEMPLATE.  You can edit this file to create an ads.txt file.

To create this file, use a TEXT EDITOR on your computer and create a file named ads.txt.  Note the name of this file must be in all lowercase.
The content of the file should look like the following:


Replace "YOURIDHERE" with your Publisher Id.
Save the file and name it ads.txt

Using FTP, copy the ads.txt file you have created to the root directory of your website.
If you are using Filezilla, your Filezilla display will look similar to the following example:
Your site now has a properly formatted ads.txt file suitable for use with Google Adsense.