Home/Security & Business/Ads.txt Generator

Ads.txt Generator

Build IAB-compliant ads.txt and app-ads.txt files from 28 network presets, with validation that catches the placeholder IDs and malformed rows that silently kill revenue.

Free Browser-based No signup Copy-ready
Generator Settings
Goes at the root of your website. Declares which companies may sell your web inventory.
For Google, this is the pub-… ID from your AdSense or Ad Manager account.
Add from a network preset
Presets insert the canonical domain and certification authority ID. Always replace the seller ID with the one your account manager gave you.
Seller records
Parses standard IAB rows, ignores comments, and de-duplicates against what you already have.
ads.txt 1.1 variables used to identify the inventory owner and any monetisation partner.
Options
Generated File 0 records
ads.txt

      

How it works

1

Add your networks

Pick each exchange from the preset list — the domain and TAG ID are filled in for you.

2

Set your real seller IDs

Paste the publisher ID each network issued you. The validator flags placeholders.

3

Upload to your root

Publish at /ads.txt and re-check whenever you add or drop a partner.

How ads.txt protects your revenue

ads.txt (Authorized Digital Sellers) is a public list of the companies allowed to sell your ad inventory. Buyers crawl it before bidding: if a seller offers your domain but is not in your file, the bid is treated as counterfeit and dropped. Without the file, spoofers can sell fake impressions against your brand — and many DSPs now refuse to buy unauthorised inventory at all.

DIRECT vs RESELLER

Use DIRECT only where you hold the account and get paid by that exchange. Everything routed through an intermediary is RESELLER. Marking a reseller as DIRECT is a common audit failure and can get you flagged for misrepresentation.

app-ads.txt is different

For mobile apps, crawlers read the developer website URL from your store listing and fetch app-ads.txt from that domain root. If the store listing points at a page rather than the domain you host the file on, nothing is found.

Rules that trip people up

  • The file must be at the root. /ads/ads.txt is never read.
  • Subdomains that serve ads need their own file unless you use a subdomain redirect.
  • Redirects are permitted but limited — keep it to a single hop within your own domain.
  • It must return 200 as text/plain. A 404 page rendered as HTML counts as “no file”.
  • Removing a partner from the file cuts their demand within days, so never prune blindly.
Seller IDs are account-specific. Copying rows from another publisher's ads.txt directs revenue to them, not you. Always take the ID from your own network dashboard.

Frequently Asked Questions

View all FAQs
Is ads.txt mandatory?
It is not universally mandatory, but it is widely recommended and supported across the programmatic advertising industry. Individual ad platforms may strongly encourage or effectively require correct implementation for their workflows.
Where should ads.txt be placed?
For a website, publish it at the root as /ads.txt.
What does DIRECT mean?
DIRECT means you directly control the seller account listed in the record.
What does RESELLER mean?
RESELLER means another entity controls the listed seller account and is authorized to resell your inventory.
Can I have multiple ad networks in one ads.txt file?
Yes. Add a valid record for each authorized seller relationship.
What is the difference between ads.txt and app-ads.txt?
Ads.txt covers web inventory. App-ads.txt extends the system to apps and relies on the developer-domain relationship associated with the app listing.
Can I create ads.txt for free?
Yes. Add or import your seller records above, validate them and download the generated file.

Ads.txt Generator – Create and Validate Your Ads.txt File

Use the Ads.txt Generator above to create an authorized digital sellers file for your website or app. Add seller records, choose DIRECT or RESELLER relationships, import existing lines, remove duplicates and generate a clean file you can publish.

Ads.txt lets publishers declare which advertising systems may sell their digital inventory, helping buyers identify authorized sellers.

The format is maintained by IAB Tech Lab.

What Is ads.txt?

Ads.txt stands for Authorized Digital Sellers.

It is a public text file placed on a publisher’s domain that lists companies authorized to sell or resell the publisher’s advertising inventory.

For a website, the file normally appears at:

https://example.com/ads.txt

Each seller record identifies the advertising system, the publisher or seller account, the relationship and, when available, a certification authority ID.

A typical line looks like:

google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0

Your actual seller ID must come from your advertising account or ad network. Do not copy placeholder IDs from examples.

Why Do Publishers Use ads.txt?

Programmatic advertising involves publishers, exchanges, resellers and buyers. Ads.txt gives buyers a domain-controlled source for checking whether a seller is authorized, helping reduce domain spoofing and counterfeit inventory.

Ads.txt does not guarantee ad revenue, but major advertising platforms strongly encourage correct implementation.

How to Use This Ads.txt Generator

Choose whether you are creating ads.txt for a website or app-ads.txt for an app.

Enter your publisher ID when a network preset requires it.

Add the seller records provided by your advertising partners. You can create rows individually or paste existing records in bulk.

For each record, verify:

  1. Advertising system domain
  2. Seller or publisher account ID
  3. Relationship type
  4. Certification authority ID, when supplied

You can also add ads.txt 1.1 variables such as OWNERDOMAIN or MANAGERDOMAIN when they apply.

Generate the file, review validation warnings and publish only after confirming every seller ID with the relevant network.

Understanding the Four ads.txt Fields

A standard seller record can contain four comma-separated fields.

Example:

example-ad-system.com, seller123, DIRECT, abcdef1234567890

Field 1: Advertising System Domain

This is the canonical domain name of the advertising system or exchange.

Use the domain supplied by the partner. Do not substitute a marketing website, login domain or guessed company domain.

Field 2: Seller Account ID

This identifies your account within that advertising system.

It may be called a publisher ID, seller ID or account ID depending on the platform.

This value must match the account through which your inventory is sold.

Field 3: DIRECT or RESELLER

This describes your relationship with the seller account.

Use DIRECT when you directly control the account identified in field two.

Use RESELLER when another company controls the account and is authorized to resell your inventory.

Do not choose DIRECT simply because it sounds better. The value should describe the actual business relationship.

Field 4: Certification Authority ID

This optional field identifies the advertising system within a certification authority.

Many well-known ad systems provide a standard value.

Use the value your advertising partner supplies rather than inventing one.

DIRECT vs RESELLER

This is one of the most common areas of confusion.

DIRECT means the publisher directly controls the seller account listed in the record.

RESELLER means the publisher has authorized another entity that controls the listed account to sell the inventory.

A publisher can legitimately have both types of records in one file.

The relationship is not a quality rating. A RESELLER entry is not automatically bad, and DIRECT does not mean the inventory is more valuable.

Accuracy matters more than trying to minimize one label.

What Is ads.txt 1.1?

IAB Tech Lab released ads.txt 1.1 with additional variables designed to improve transparency around inventory ownership and management.

Two important additions are:

  • OWNERDOMAIN
  • MANAGERDOMAIN

These values provide more context about the business entities involved.

OWNERDOMAIN identifies the business domain that owns the media property.

MANAGERDOMAIN can identify a company that exclusively or primarily manages monetization for the inventory owner in applicable relationships.

Not every publisher needs every variable. Add them only when they accurately describe your setup.

What Is OWNERDOMAIN?

OWNERDOMAIN helps identify the organization that owns the inventory.

For example:

OWNERDOMAIN=example.com

This can be useful in cases where the domain hosting content, the corporate owner and the advertising relationships are not immediately obvious.

Use the business domain appropriate to the ownership structure defined by the specification.

Do not use OWNERDOMAIN as another place to list an ad network.

What Is MANAGERDOMAIN?

MANAGERDOMAIN identifies an entity involved in managing the publisher’s monetization when the required relationship applies.

This is particularly relevant for publishers working with a monetization partner.

Do not add a manager merely because a company appears somewhere in your ad stack.

The value should reflect the role defined by the ads.txt standard and your actual commercial arrangement.

What Is app-ads.txt?

App-ads.txt extends the authorized sellers concept to applications.

It is used for mobile apps, connected TV apps and other software distributed through app stores or similar environments.

The app store listing connects the app to a developer website, and buyers can then locate the app-ads.txt file associated with that developer domain.

The seller-record format is closely related to ads.txt, but correct developer-domain configuration is essential.

If you are monetizing a mobile app, select the app-ads.txt option in the generator and follow the implementation instructions from your app store and ad partners.

Where Do I Get My Ads.txt Lines?

Get them directly from the advertising platforms, exchanges or monetization partners you actually use.

For Google AdSense, your ads.txt line contains your own pub- publisher ID.

Other platforms provide their own required domain, seller ID, relationship type and certification ID.

Do not build a large file by copying lines from another website.

Their seller relationships and account IDs are not yours.

A copied ads.txt file can authorize the wrong accounts and create verification or monetization problems.

How to Publish ads.txt

For a normal website, upload the final file so it resolves at:

/ads.txt

Check the live URL in your browser.

The file should be publicly accessible without login and should show plain-text seller records.

Advertising platforms may need time to recrawl changes. If a platform reports an issue, compare its recommended line with the live file rather than only checking your local copy.

How to Update an Existing ads.txt File

Do not automatically replace the whole file when adding a new ad partner.

Import your existing records, merge the new lines and remove exact duplicates.

Then verify whether any old seller relationships are no longer valid.

Ads.txt should represent current authorized sellers, not every advertising company you have ever tested.

Keeping records sorted by domain can make future reviews easier because additions and removals are easier to spot.

Common Ads.txt Errors

One common error is using the wrong publisher ID.

Another is placing the file somewhere other than the root of the site.

Other mistakes include:

  • Misspelling the ad system domain
  • Using DIRECT when the relationship is actually RESELLER
  • Copying another publisher’s records
  • Leaving placeholder IDs in production
  • Publishing duplicate lines
  • Keeping sellers that are no longer authorized
  • Using an incorrect developer website for app-ads.txt
  • Returning an HTML error page instead of the text file

Validation can catch formatting problems, but it cannot know whether a seller relationship is commercially legitimate. You still need to verify the account information.

Ads.txt and SEO

Ads.txt is not a normal SEO ranking file.

It is part of the advertising supply-chain ecosystem, not a page designed to rank in organic search.

Do not add ads.txt records to improve keyword rankings, indexing or crawl frequency.

Likewise, do not block your ads.txt file casually in robots.txt if advertising partners need to fetch it — see the AI Crawler Robots.txt Generator.

The file’s value depends on being publicly accessible to systems that verify authorized sellers. For genuine SEO work, use the Canonical Tag Generator and the Sitemap Index Generator instead.

Related searches

ads.txt generatorapp-ads.txt generatorads.txt formatads.txt direct resellerwhat is ads.txtads.txt adsenseiab ads.txt specownerdomain ads.txtmanagerdomainads.txt validatorauthorized digital sellersads.txt 1.1