ads.txt and app-ads.txt Generator
Add your ad network lines with seller IDs and DIRECT or RESELLER, catch broken lines and duplicates before buyers do, and download a clean ads.txt or app-ads.txt.
S'executa al teu navegador. Els fitxers mai no surten del dispositiu. Mira com comprovar-ho
…
Com es fa
- 1Choose the file type
Pick ads.txt for a website or app-ads.txt for a mobile or TV app.
- 2Add records
Choose a network preset, paste your seller account ID and set DIRECT or RESELLER.
- 3Add variables
Set OWNERDOMAIN to your domain and add a CONTACT address for buyers.
- 4Fix problems
Read the problem list, then use Fill missing cert IDs and Remove duplicates.
- 5Compare
Paste an older file or a partner's lines on the Compare tab and add what is missing.
- 6Download
Sort or group the lines, download the file and upload it to your site root.
Sobre aquesta eina
ads.txt (Authorized Digital Sellers) is a plain text file at the root of a website that lists every company allowed to sell its ad space. app-ads.txt does the same job for mobile and connected TV apps and lives on the developer website named in the app store listing. Ad buyers read these files and refuse to bid on inventory from sellers that are not listed, so a typo in one line can quietly cut revenue from a network. This editor keeps each record as a row with four fields: the ad system domain, your seller account ID, the relationship and the optional certification authority ID, so you never have to count commas by hand. Pick a network from the preset list and the domain and its published certification ID are filled in for you; you only paste the account number your network gave you. Variables such as OWNERDOMAIN, MANAGERDOMAIN, CONTACT and SUBDOMAIN get their own section. Undo and redo cover every edit, and the draft is saved on this device.
What the checker reports
Each line is parsed the way crawlers parse it. The checker flags lines with fewer than three fields, a URL where a bare domain belongs, an empty account ID, a relationship that is neither DIRECT nor RESELLER, a malformed certification ID, smart quotes or invisible characters, and variables with unknown names. It also lists exact duplicates and any seller account that appears as both DIRECT and RESELLER, which buyers treat as a contradiction.
Known networks
For about sixteen widely used ad systems, including Google, Xandr, Magnite, OpenX, PubMatic and Index Exchange, the tool knows the usual certification ID and, for several, the shape of the account ID. A different value is shown as a warning rather than an error, because the line your network sends is the final word.
Compare and merge
The Compare tab takes a second file: last month's version, your app-ads.txt or the block of lines a new partner emailed. It lists the records missing on each side and can add the missing ones to your file in one click.
Limits
This page does not fetch your live file, because browsers block one site from reading another site's files; copy the text from your browser instead. It does not check sellers.json on the network side, and it cannot know whether an account ID is really yours, so confirm every new line with the network that issued it.
Exemple resolt
A news site has eight lines. The checker finds that openx.com, 540191398 appears twice, that rubiconproject.com, 19116 is listed as both DIRECT and RESELLER, and that one line starts with https://pubmatic.com and uses lower-case reseller. Remove duplicates deletes the repeated OpenX line, the Rubicon RESELLER line is deleted by hand, and the PubMatic domain is corrected so the line reads pubmatic.com, 156439, RESELLER, 5d62403b186f2ace. The final file has six records, four DIRECT and two RESELLER, with no errors.
En resum
- Categoria: Desenvolupament i dades
- S'executa al navegador, sense registre, sense pujar res.
- La informació que introdueixes es queda al dispositiu.
- Disponible en anglès.
- Contingut revisat per última vegada:
- Font oficial: IAB Tech Lab ads.txt specification 1.1 and app-ads.txt
Preguntes freqüents
Where does ads.txt go?
In the root of the domain, so it loads at https://example.com/ads.txt as plain text with status 200. Each subdomain needs its own file unless the root file names it with a SUBDOMAIN line.
What is the difference between DIRECT and RESELLER?
DIRECT means you control the seller account yourself. RESELLER means another company sells your inventory through its own account on that ad system.
Is the certification ID required?
It is optional in the specification, but many buyers expect it. The tool fills it for known networks and warns when it is missing.
Where does app-ads.txt go?
On the developer website listed in your app store entry, at the root, for example https://developer.example.com/app-ads.txt. It uses the same line format as ads.txt.
How fast do changes take effect?
Buyers and exchanges usually recrawl within a day or two, so revenue reports can lag behind your edit.
Is anything uploaded?
No. Editing, checking and comparing run in your browser, and the draft stays in local storage on this device.
