Skip to content

What is app-ads.txt?

app-ads.txt does for apps what ads.txt does for websites: it lists the companies the developer has authorized to sell the app's ad space.

The problem it solves

An app has no web address of its own to host a file. Without a way to list authorized sellers, anyone could pass off another developer's app as theirs in a bid request. app-ads.txt gives the app a public list, using the developer's website as the place to publish it.

How buyers find the file

A buyer or crawler starts from the app's listing in its store. The listing names the developer's website. The crawler then reads app-ads.txt at the root of that website, for example https://developer.example/app-ads.txt, and looks for the seller lines that apply to the app.

This means the file only works if the store listing shows the right website, and the file sits on that website's main domain.

The format

The lines are the same as in ads.txt: ad system domain, seller account ID, DIRECT or RESELLER, and an optional certification ID.

exampleexchange.com, 12345, DIRECT
exampleadnetwork.com, pub-67890, RESELLER

One developer file covers every app of that developer. A developer who publishes many apps lists all the sellers any of them uses.

Where apps are identified

In a bid request an app is identified by its bundle ID on Android (such as com.example.game) or by its store ID on iOS (a number). Connected TV apps use the identifier of their own store, which is different on each platform, so check your ad partner's guidance for the exact value to send.

Common mistakes

How to check an app

Type the app's bundle ID or App Store ID into the ads.txt & app-ads.txt Checker. It finds the developer website from the store listing, reads app-ads.txt there and shows the other apps of the same developer. If the listing has no website, the checker says so, and that is the first thing to fix.

Check it with ortb.in

Common questions

Where do I put app-ads.txt?

At the root of the developer website named in your store listing, so it opens at yourdomain.com/app-ads.txt.

Do I need a separate file for each app?

No. One file on the developer website covers all of that developer's apps.

Why does my app show no file?

Either the store listing names no website, or the file is missing from that website's root. Fix the listing first.

Keep reading