ads.txt vs sellers.json
People think ads.txt and sellers.json are the same file, and they are not. A site puts ads.txt on its own web address. It lists who may sell the site's ad space. An ad seller puts sellers.json on its own address. It lists every site it sells for. A buyer checks that both lists agree.
ads.txt
A file on a site that lists who may sell its ad space.
Ads.txt is a small text file that a site puts on its own web address, like example.com/ads.txt. It lists every company allowed to sell that site's ad space. Each line names the seller, the site's account with it, and whether the seller is direct or a reseller. Buyers check the list before they bid, and skip sellers who are not on it. The IAB Tech Lab released it in 2017 to stop fake sellers.
sellers.json
A file where an ad seller lists all the sites it sells for.
Sellers.json is a public file that an ad seller, such as an SSP, puts on its own website. It lists every site and company it sells ad space for, with an ID for each one. A buyer can match the ID in a bid request to a real, named seller. Ads.txt is the site's list of its sellers. Sellers.json is the seller's list of its sites. Together they show the path the money takes.
In one line
- ads.txt
- A file on a site that lists who may sell its ad space.
- sellers.json
- A file where an ad seller lists all the sites it sells for.