Title: Setting Up Ads.txt and App-Ads.txt for Monetization

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 and app-ads.txt files. 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.

Ensure that your developer website is linked to your app listings on any applicable app stores (Google Play, App Store, Roku, Vizio, LG, etc.). If you do not yet have a developer website, you must create one before setting up an app-ads.txt file.


Example: https://apps.apple.com/us/app/wsb-tv-news/id337604610 (developer website link - goes to https://www.wsbtv.com/)

Step 2: Create Your Ads.txt and App-Ads.txt Files

  1. Open a text editor and create two plain text files named "ads.txt" and "app-ads.txt" (these exact names are required for detection by buyers).
  2. Copy the ads.txt and app-ads.txt contents from the Connect UI under Connection Action and paste them into your respective files.
  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 and App-Ads.txt Files

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

Step 4: For Platform Partner’s Ads.txt and App-Ads.txt Add the following lines to both ads.txt and app-ads.txt files:

amagi.com, XXXXX, DIRECT  (Where XXXXX is 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.