Before you start
- Sign in with a workspace role that can edit supply (supply.write), such as Editor or Admin. Previewing needs only supply.read, and Verify needs supply.write.
- Riptide must have set your workspace's advertising-system domain. Without it, no ads.txt is published for your publishers.
- The publisher needs its Domain set, because the check reads the ads.txt there. The publisher must be able to put a file at the root of its site, or redirect that address.
Step-by-step guide
-
Open the publisher's Ads.txt tab
On Home, open Inventory, then Publishers, and open the publisher. Choose its Ads.txt tab. It lists the lines the publisher must publish at its domain.
-
Preview the lines
Choose Preview ads.txt. OWNERDOMAIN names the publisher's own domain. The DIRECT line names your workspace, with the publisher's seller ID. Each demand partner whose route buys the publisher's placements adds its own lines, marked RESELLER.
- OWNERDOMAIN
news.example - The publisher's own domain, from its Domain.
- DIRECT line
ads.studio.example, harbor-news, DIRECT - Your workspace's advertising-system domain and the publisher's seller ID.
- RESELLER line
summitridge.example, 58213, RESELLER - A demand partner's line. It's added because the partner's route buys this publisher's placements.
- OWNERDOMAIN
-
Get the file to the publisher
Choose Download ads.txt and send the file to the publisher, to put at the root of its site. Download app-ads.txt has the same lines for apps. Or the publisher can redirect its ads.txt, with a single 301 redirect, to the copy under Also served at. Then you can change its lines later without asking the publisher.
-
Verify the file
When the file is on the site, choose Verify. The check reads the ads.txt at the publisher's domain and looks for each line. The status shows OK when every line is there, Missing when one isn't, Malformed when buyers can't read the file, and Error when the check can't read it. Recent checks lists the address it read and the reason. When the file can be read, a table shows each line as Present, Missing, Wrong type (DIRECT or RESELLER) or Wrong certification ID.
-
Preview sellers.json
Choose ads.txt & sellers.json. Health lists the workspace's checks, with their status. Under Preview generated documents, choose Preview sellers.json. It lists your workspace and the publishers it sells for. Buyers read it at the address above the file. To check a live sellers.json file, use Verify a document further down the page.
Check the saved settings
- Preview ads.txt lists OWNERDOMAIN, your workspace's DIRECT line and each partner's RESELLER lines.
- Verify adds a check under Recent checks, with its status.
- Preview sellers.json lists your workspace and the publisher.
A check shows the file as it was when it was read. Verify again after the publisher changes its file.
Troubleshooting
Preview says no ads.txt is published until the workspace has an advertising-system domain.
Ask your Riptide contact to set your workspace's advertising-system domain, then preview again.
The status is Error.
The check couldn't read the file. Recent checks gives the address and the reason. Check that the publisher's Domain is right and that the file is at the root of its site.
The status is Missing.
The file was read, but a line isn't in it. The table under the status shows which. Send the publisher the missing lines, or the whole file, and verify again.
The status is Malformed.
The file has lines buyers can't read. Recent checks gives the errors. Ask the publisher to fix them, then verify again.
There's no Verify button.
Verify needs a role that can edit supply (supply.write), such as Editor or Admin.
Video transcript
The narration in full. Download English captions.
0:00 Check a publisher's ads.txt lines and preview your sellers.json.
0:06 You need a workspace sign-in with the Editor or Admin role.
0:11 Every name and domain in this video is made up.
0:18 Start on Home. Open Inventory, then Publishers.
0:24 Open Harbor News.
0:30 Open the Ads.txt tab.
0:34 It lists the lines Harbor News must publish at news.example.
0:39 Choose Preview ads.txt.
0:45 OWNERDOMAIN names the publisher's own domain.
0:51 The DIRECT line names your workspace, with harbor-news as the seller ID.
0:57 A demand partner's line follows, marked RESELLER.
1:03 Download ads.txt and send the file to the publisher.
1:10 Or the publisher can redirect its ads.txt to the copy under Also served at.
1:19 When the file is on the site, choose Verify.
1:25 The check reads the ads.txt at news.example and looks for each line.
1:31 This video's domain is made up, so the check can't reach it.
1:37 The status is Error.
1:41 Recent checks gives the address it tried and the reason.
1:48 When the file can be read, a table shows whether each line is in it.
1:57 Choose ads.txt & sellers.json.
2:03 Health lists the workspace's checks, with their status.
2:09 Under Preview generated documents, choose Preview sellers.json.
2:15 It lists your workspace and Harbor News, the publisher it sells for.
2:21 Buyers read it at the address above the file.
2:28 To check a live sellers.json file, use Verify a document further down.
2:39 Harbor News has its ads.txt lines, and your sellers.json lists it.
2:45 Next, connect programmatic demand.
2:50 It has its own video and written guide.