Guides › Store review & policy

AdMob app-ads.txt: how to set it up for your app

Checked against the official pages on 2026-11-27.

app-ads.txt is a plain text file listing who is allowed to sell ads in your app. It's an IAB Tech Lab standard that extends ads.txt to apps. AdMob warns that without it you risk "a significant loss in ad revenue": ad buyers that support app-ads.txt only buy inventory in apps with a verified file.

How AdMob finds your file

  1. It reads the developer website from your store listing — on Google Play under Store settings › Store listing contact details, on the App Store from the Marketing URL.
  2. It requests /app-ads.txt at the root of that domain, over HTTPS and then HTTP.

Rules that trip people up:

What goes in the file

In AdMob, open Apps › View all apps › app-ads.txt › How to set up app-ads.txt, and copy your line — it contains your publisher ID. It looks like this:

google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0

If you use mediation, add a line from each network too. Save it with a plain text editor — rich text editors can add invisible characters that break parsing.

Checking it

Common errors

Don't have a website?

StoreOK hosts app-ads.txt for free at yourapp.storeok.dev/app-ads.txt. Set https://yourapp.storeok.dev as the developer website in both stores, paste your AdMob line, and the file is served from the root of that domain over HTTPS and HTTP.

See what your own app needs to declare. Drop your dependency file — it's read in your browser, no signup.

Scan my dependency file →

Sources

More guides

Store rules change; always check the linked official pages. This is not legal advice.