Sure, here’s the information provided in a tabular format that you can use on your website:
Step | Description |
---|---|
1 | Open a plain text editor, like Notepad (Windows) or TextEdit (Mac). Create a new file and save it as “ads.txt” with the “.txt” extension. |
2 | In the “ads.txt” file, add lines with the format: domain.com, Publisher ID, Relationship type . |
3 | Replace “domain.com” with your website domain and “Publisher ID” with your Google AdSense Publisher ID. Use “DIRECT” as the type. |
4 | If you have multiple domains, add a line for each. |
5 | Save the file and upload it to your website’s root directory (where the index file is). |
6 | Access your website in a browser and go to http://yourdomain.com/ads.txt to verify the file’s content. |
7 | Log in to Google AdSense, go to “Account” > “Settings” > “Account information”, and click “Edit” in “Direct ads.txt management”. |
8 | Paste your ads.txt content, save the changes, and Google will verify it. |
Sample content for ads.txt file
domain.com, pub-4324234, DIRECT
Creating and maintaining an accurate ads.txt file ensures a secure and trusted advertising environment on your website.