Skip to content
Testaroo
txt357 B

ads.txt

An IAB ads.txt listing authorised digital sellers with account IDs and relationships (sample data), for testing ads.txt parsers and ad-fraud tooling.

Preview, first 8 linestxt
# ads.txt - Authorized Digital Sellers (sample fixture, not real accounts)
# Format: <exchange domain>, <publisher account id>, <relationship>, <certification authority id>
greenad.example, pub-0000000000000000, DIRECT, f08c47fec0942fa0
adexchange.example, 540123, RESELLER
video-ssp.example, 7788, DIRECT
contact=ads@example.com
subdomain=news.example.com

Specifications

Format
ads.txt
Encoding
UTF-8
Data
fictional example.com

Testing contract

Expected to pass
Scenario
Exercise ads.txt in its crawlers workflow. An IAB ads.txt listing authorised digital sellers with account IDs and relationships (sample data), for testing ads.txt parsers and ad-fraud tooling.
Expected result
7 text lines, decoded as UTF-8; first nonempty line is `# ads.txt - Authorized Digital Sellers (sample fixture, not real accounts)`. Declared feature checks: data=fictional example.com.

What is a .txt file?

TXT is a plain-text file containing unformatted character data with no styling or structure beyond line breaks. Its interpretation depends on character encoding, most commonly UTF-8, and on line-ending convention. It is the most universal and portable text container.

How to use this file

Use an example TXT to test encoding detection, line-ending (LF versus CRLF) handling, and any tool that reads or streams raw text input.

How to use this file for testing

“ads.txt” is a deterministic Testaroo fixture for Web assets, Editor testing. Favicons, web app manifests, service workers, robots and sitemap files, Open Graph images, and .well-known resources, for testing web tooling, crawlers, PWA installers, and asset pipelines.

Documented properties for this file: UTF-8 · ads.txt. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.

Web-platform fixtures are standards-compliant samples against fictional example.com data. Test crawlers, PWA installers and manifest validators, favicon/icon pipelines, service-worker registration, or .well-known parsers against the documented structure.

Generated by generation/web_assets.py. Free for any use, no attribution required, license.