Truvid Help Center
Breadcrumbs

How to manage an ads.txt page

Introduction

Ads.txt (Authorized Digital Sellers), plays a vital role in combating ad fraud and enhancing transparency in digital advertising. Adhering to best practices in managing your ads.txt pages is crucial, particularly when focusing on the placement and grouping of ads.txt lines, as well as their overall management. This becomes increasingly important when working with multiple ad tech platforms, as it helps to optimize performance and maintain the integrity of your digital advertising efforts.

Best Practices for Ads.txt Line Management

Strategic Line Placement

  • Prioritizing Visibility: Place the ads.txt lines of your primary ad provider at the beginning of the file. This ensures that their crawlers read and process these lines first, potentially speeding up ad approval and enhancing performance.

  • Grouping for Clarity: Organize the ads.txt lines by provider, creating distinct blocks or sections for each. This approach aids in:

    • Easy identification and updating of specific providers’ lines.

    • Efficient troubleshooting for issues related to particular ad partners.

    • Tracking and comparing performance across different ad providers.

Benefits of Grouping Lines

  • Enhanced Organization: Grouping simplifies the file's layout, aiding in management, especially when handling multiple ad providers.

  • Improved Efficiency: This method streamlines updates and troubleshooting by isolating lines, minimizing errors.

  • Simplified Performance Analysis: Facilitates easier tracking and comparison of ad performance between providers.

Additional Considerations

  • Maintain Correct Formatting: Adhere strictly to the standard ads.txt format, which typically includes the domain name, publisher ID, relationship type (DIRECT or RESELLER), and certification authority ID.

  • Optimize File Location: Ideally, place the ads.txt file in the root directory of your website. If necessary, it can be in a publicly accessible subdirectory.

  • Regular Validation and Updates: Use ads.txt validation tools that can be found online to ensure accuracy and to identify errors. Keep the file updated to reflect changes in partnerships, ensuring ongoing transparency and effectiveness. 

Conclusion

By implementing these best practices, publishers can optimize ad performance, safeguard their ad inventory against fraud, and maintain a well-organized ads.txt file.