What Is Ads.txt File?
Ads.txt File: Ads.txt, which stands for “Authorized Digital Sellers,” is a text file that publishers place on their websites to publicly declare the companies authorized to sell their digital advertising inventory. The file helps prevent unauthorized or fraudulent inventory sales and enhances transparency in the digital advertising ecosystem. Ads.txt is an initiative developed by the Interactive Advertising Bureau (IAB) to combat ad fraud and increase trust in programmatic advertising.
Here’s how the Ads.txt file works:
- Publishers Declaration: Publishers create an Ads.txt file that lists the authorized entities (such as ad networks, exchanges, or sales representatives) allowed to sell their ad inventory.
- File Placement: The Ads.txt file is placed in the root directory of the publisher’s website, making it easily accessible for verification by buyers, advertisers, and ad exchanges.
- Authorized Sellers Information: The file includes lines of text, each specifying a relationship between the publisher and an authorized seller. Each line typically contains three key pieces of information:
- Domain of the advertising system.
- Publisher’s Account ID on that system.
- Relationship type (either “DIRECT” or “RESELLER”).
- Verification: Advertisers and ad exchanges use web crawlers or automated tools to fetch and parse the Ads.txt file from the publisher’s website. They verify whether the entities claiming to sell the ad inventory are listed in the Ads.txt file.
- Preventing Fraud: Ads.txt helps prevent domain spoofing and unauthorized resale of ad inventory. Ad buyers can verify that the inventory they are purchasing comes from legitimate sources and not from fraudsters pretending to represent a particular publisher.
By implementing Ads.txt, publishers contribute to a more transparent and secure digital advertising ecosystem. Advertisers, in turn, can have greater confidence that they are purchasing inventory from authorized and legitimate sources, reducing the risk of ad fraud.
It’s important for publishers to regularly update their Ads.txt files to reflect any changes in their authorized seller relationships. Additionally, advertisers and ad exchanges should use Ads.txt as a verification tool when buying and selling programmatic advertising.
How To Upload Ads.Txt File In Website?
Uploading an Ads.txt file to your website involves a straightforward process. Here are the general steps to upload an Ads.txt file:
- Create the Ads.txt File:
- Use a plain text editor, such as Notepad on Windows or TextEdit on Mac, to create a new file.
- Each line in the file should represent a relationship between your website and an authorized advertising system. The format typically includes the domain of the advertising system, your account ID on that system, and the relationship type (either “DIRECT” or “RESELLER”).
- Save the File:
- Save the file with the name “ads.txt” (all lowercase) on your computer.
- Access Your Website’s File Manager:
- Log in to your website’s hosting control panel or use an FTP client to connect to your website’s server.
- Navigate to the Root Directory:
- Locate the root directory of your website. This is often the main folder that contains your website’s index or home page.
- Upload the Ads.txt File:
- Upload the “ads.txt” file from your computer to the root directory of your website. You can usually do this by dragging and dropping the file using an FTP client or using the file upload feature in your hosting control panel.
- Verify the Upload:
- After uploading, verify that the Ads.txt file is now present in the root directory of your website. You should be able to access it through a web browser by navigating to
http://www.yourwebsite.com/ads.txt
(replace “yourwebsite.com” with your actual domain).
- After uploading, verify that the Ads.txt file is now present in the root directory of your website. You should be able to access it through a web browser by navigating to
- Test the File:
- To ensure that the Ads.txt file is correctly configured, use online Ads.txt validation tools provided by industry organizations or ad verification services. These tools can check for syntax errors and verify that your file follows the proper format.
- Regularly Update the Ads.txt File:
- Periodically review and update your Ads.txt file to reflect any changes in your authorized seller relationships. This may include adding or removing entities based on your advertising partnerships.
By following these steps, you can upload and maintain an Ads.txt file on your website, contributing to the transparency and legitimacy of your digital advertising inventory.
Monetize your website with ads and start earning money today