ads.txt is an IAB specification to battle fraud in the ad industry and supported by LoopMe. Find the detailed IAB ads.txt implementation spec here.
The ads.txt file allows buyers to see the list of authorized sellers of the ad inventory for the web domain. The ads.txt file contains the following information:
- List of authorized ad networks (identifiable via their top level domains, e.g. adnetwork1.com)
- The assigned publisher ID for your inventory in the ad network platforms
- The type of relationship the publisher has with the ad network (e.g. “DIRECT” or “RESELLER”)
- (Optional) The ID assigned by a certification authority to the ad network (e.g. a “TAGID”)
The ads.txt file is stored in the root folder of the publisher’s web domain. E.g.: https://sitename.com/ads.txt. It is advisable to use HTTPS for accessing the ads.txt file for your domain as that is the preferred connection method for ad buyers. Buyers may deploy website crawlers to ensure they only buy with licensed sellers of the ad inventory.
An example of a generic ads.txt file:
You own the website domain “http://movies.com” and sell ad inventory to ad buying platforms. And you have made commercial agreements with ad networks rtb1.com and rtb2.com to sell your ad inventory to advertisers.
Following the IAB specs for the ads.txt implementation, you should store the following file in your root folder: http://movies.com/ads.txt
The contents of your ads.txt file should be:
rtb1.com, 12345, DIRECT rtb2.com, abcd, RESELLER, qW12eR34
In this example,
- rtb1.com and rtb2.com represent the top level domain of the authorized ad networks,
- 12345/abcd the internal published IDs that the individual ad networks assigned to your ad spots,
- DIRECT/RESELLER the type of commercial relationship with each of the ad networks and
- qW12eR34 the optional assigned code of the certification authority for the ad network (eg. the “TAGID”).
Adding LoopMe to ads.txt file
You already have an ads.txt file
Please add the following line to your existing ads.txt file:
loopme.com, <loopme publishing id>, DIRECT, 6c8d5f95897a5a3b
Please replace the <loopme publisher ID> value with the publisher ID value you received from your LoopMe account manager.
You do not have an ads.txt file
Download the ads.txt file with LoopMe setup here and place it in your root domain and replace the <your publisher ID> value with the publisher ID value you received from your LoopMe account manager.