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, RESELLEROne 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
- The store listing has no developer website, or lists a page that is not the developer's own domain.
- The file is on a different website than the one in the listing.
- The address returns an HTML page, such as a website builder's error page, instead of text.
- The website redirects the file somewhere crawlers do not follow.
- The listing was changed, but the new website has not been read yet. Changes take time to be noticed.
- Seller IDs are copied wrongly from a partner's setup page.
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.