Introduction To successfully monetize your supply, it is essential to properly set up and maintain your ads.txt and app-ads.txt files. These files establish transparency in programmatic advertising by allowing publishers and app developers to declare authorized sellers of their ad inventory. Amagi supports content partners in implementing these files correctly to protect revenue and enhance trust in the digital advertising ecosystem.

Step 1: Prepare Your Website A primary developer website is crucial for third parties to access information about your content. This website should serve as the central location for your ads.txt file. If you own multiple content-specific domains, those can reference the primary developer website’s domain as the managerdomain in their ads.txt files to streamline monetization rights.

Step 2: Create Your Ads.txt File

  1. Open a text editor and create a new plain text file named "ads.txt" (this exact naming is required for detection by buyers).
  2. Copy the ads.txt contents from the Connect UI under Connection Action and paste them into your file.
  3. Ensure that each authorized seller entry follows the format:
    • Ad System Name, Publisher/Account ID, Relationship Type (DIRECT or RESELLER), TAG ID (optional)

Step 3: Host the Ads.txt File

  • Have your web developer upload the ads.txt file to the root directory of your primary developer website.
  • Example URL format:
    https://www.wsbtv.com/ads.txt
    
  • Enter the ads.txt URL in Connect at the channel level for content partners.

Step 4: For Content Providers Using App-Ads.txt If you are a content provider, request that the platform add the following record to their app-ads.txt file:

inventorypartnerdomain=replaceme.com

(Replace replaceme.com with the domain where your ads.txt file is hosted.)

Step 5: Adding Entries to Your Ads.txt File Include the following lines in your ads.txt file:

amagi.com, XXXXX, DIRECT  (Replace XXXXX with your Monetization ID)
inventorypartnerdomain=amagi.com
beachfront.com, 13920, DIRECT, e2541279e8e2ca4d
conversantmedia.com, 100709, DIRECT, 03113cd04947736d
smartadserver.com, 4918, DIRECT, 060d053dcf45cbf3
freewheel.tv, 1596492, DIRECT
google.com, pub-8163703492351455, DIRECT, f08c47fec0942fa0
lgads.tv, 830718, DIRECT
telaria.com, 86wyq-8imy6, DIRECT, 1a4e959a1b50034a
tremorhub.com, 86wyq-8imy6, DIRECT, 1a4e959a1b50034a
pubmatic.com, 162307, DIRECT, 5d62403b186f2ace
tvp.tv, BK88, DIRECT, 1125b6434104a723
xandr.com, 15229, DIRECT, f5ab79cb980f11d1
xandr.com, 14591, DIRECT, f5ab79cb980f11d1
beachfront.com, 15145, RESELLER, e2541279e8e2ca4d
conversantmedia.com, 100709, RESELLER, 03113cd04947736d
smartadserver.com, 4918, RESELLER, 060d053dcf45cbf3
google.com, pub-8163703492351455, RESELLER, f08c47fec0942fa0
lgads.tv, 830718, RESELLER
telaria.com, 86wyq-qj7jy, RESELLER, 1a4e959a1b50034a
tremorhub.com, 86wyq-qj7jy, RESELLER, 1a4e959a1b50034a
pubmatic.com, 162307, RESELLER, 5d62403b186f2ace
tvp.tv, BK88, RESELLER, 1125b6434104a723
xandr.com, 14591, RESELLER, f5ab79cb980f11d1

Conclusion Proper implementation of ads.txt and app-ads.txt files is essential for maximizing monetization opportunities while ensuring transparency and fraud prevention in programmatic advertising. Amagi assists partners in setting up and maintaining these files correctly to safeguard ad revenue and maintain industry compliance.

For further guidance on ads.txt and app-ads.txt setup, contact Amagi today!