Skip to content
Google Play

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.

C CodeWeve 2 min read
app-ads.txt for app developers: a practical setup guide

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

  1. Publishing the file at /app-ads.txt/ or under a subdirectory.
  2. Using an HTTP-only domain or a domain that redirects.
  3. Listing a publisher ID for the wrong account.
  4. Adding a file but leaving the store listing's developer website empty.
  5. Committing the file with a .txt extension but serving it as text/html.

How to verify

  1. Open https://yourdomain.com/app-ads.txt in an incognito window — it should display as plain text.
  2. Confirm the content type is text/plain.
  3. Check that the developer website on your Play Store listing matches the domain exactly.
  4. 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.

Tags Admob Monetisation App-Ads.txt

Need help publishing your app?

Closed testing, Play Console troubleshooting and release support from an experienced developer.

Get a Quote

Related articles