app-ads.txt for app developers: a practical setup guide
app-ads.txt tells ad networks which companies are authorised to sell your app inventory. If it is missing or wrong, you can lose revenue without noticing.
app-ads.txt is the app equivalent of ads.txt. It is a plain text file published on your developer website that lists the ad systems authorised to sell your app's inventory. Networks crawl it and use it to verify that the inventory they are buying is legitimate.
Where the file must live
At the root of the developer website domain listed on your Play Store listing, served over HTTPS:
https://yourdomain.com/app-ads.txt
Subdomains and subdirectories are not used. If your store listing points to example.com, the file must be at the root of example.com.
What goes inside
One line per authorised seller:
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
The fields are: advertising system domain, publisher account ID, relationship (DIRECT or RESELLER), and the certification authority ID. AdMob provides the exact line for your account in the AdMob interface — copy it rather than typing it from memory.
Common mistakes
- Publishing the file at
/app-ads.txt/or under a subdirectory. - Using an HTTP-only domain or a domain that redirects.
- Listing a publisher ID for the wrong account.
- Adding a file but leaving the store listing's developer website empty.
- Committing the file with a
.txtextension but serving it astext/html.
How to verify
- Open
https://yourdomain.com/app-ads.txtin an incognito window — it should display as plain text. - Confirm the content type is
text/plain. - Check that the developer website on your Play Store listing matches the domain exactly.
- Wait a few days for networks to re-crawl, then check the verification status in your ad network dashboard.
Why it matters
When a valid file is present, demand partners can verify your inventory and bid normally. When it is missing, some demand is quietly withheld — which looks like a mysterious revenue drop rather than an error.
Need help publishing your app?
Closed testing, Play Console troubleshooting and release support from an experienced developer.
Get a Quote