Creating an ads.txt (Authorized Digital Sellers) File to your Website (Google Adsense)
Creating an ads.txt (Authorized Digital Sellers) file is essential for website owners who want to protect their ad inventory and ensure transparency in programmatic advertising.
Creating an ads.txt (Authorized Digital Sellers) file is essential for website owners who want to protect their ad inventory and ensure transparency in programmatic advertising. The process is quite simple, and it allows you to list authorized sellers and resellers of your ad inventory. Follow these steps to create an ads.txt file perfectly:
Open a plain text editor: Use a plain text editor like Notepad (Windows) or TextEdit (Mac) to create a new file. Avoid using rich text editors like Microsoft Word, as they can add unnecessary formatting to the file.
Add authorized sellers: For each authorized seller or reseller of your ad inventory, add a line in the following format:
<Domain of the advertising system>, <Publisher Account ID>, <Type of Account (DIRECT or RESELLER)>, <Certification Authority ID (optional)>
For example, if you have a Google AdSense account, the line would look like this:
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
pub-0000000000000000with your actual AdSense Publisher ID.
Add each authorized seller on a separate line. You can find a list of your ad partners' domain names and other required information in their documentation or by contacting their support team.
Save the file: Save the plain text file with the filename "ads.txt" (without quotes). Make sure the file extension is ".txt" and not ".txt.txt" or any other format.
Upload the file to your website's root directory: Using an FTP client or your website's file manager, upload the ads.txt file to the root directory of your website. The root directory is the main folder that contains all your website's files and subfolders. Once the file is uploaded, it should be accessible at the following URL:
Inform your ad partners: Notify your ad partners that you have created and uploaded an ads.txt file. They may need to confirm the information in the file and make any necessary updates on their end.
Update the ads.txt file regularly: Keep your ads.txt file up to date as you add or remove ad partners. Regular updates help maintain the integrity of your ad inventory and prevent unauthorized sales.
By following these steps, you can create an ads.txt file that helps protect your ad revenue and ensure transparency in the programmatic advertising ecosystem.