AdMob Ads Not Showing in a New App: 12 Fixes
Twelve checks in order, from simple delays to app readiness, ad unit IDs, no fill and policy limits.
Read the guide →
You added AdMob to your app, but AdMob keeps asking about app-ads.txt. The file is small, yet it fails for simple reasons: the developer website is missing from the store listing, the file is in the wrong folder, or the line is mistyped. This guide shows the setup in the right order, explains how AdMob crawls your site and lists every error Google names with its fix.
app-ads.txt is a plain text file that lists who is allowed to sell ads in your app. To set it up for AdMob, put your developer website in your Google Play store listing, create a text file named app-ads.txt that contains the line AdMob provides, upload it to the root folder of that website, and check its status in AdMob. Google says it can take up to 24 hours for AdMob to crawl and verify the file.
Google explains the process on its app-ads.txt setup page, and its troubleshooting steps are on the app-ads.txt status page. It describes the file as the way the standard establishes who owns an app, and says a listing for an app you do not own is a sign it is working to protect you against ad fraud.
| Requirement | What Google says | How to do it |
|---|---|---|
| App registered in a store | Your app must be registered with Google Play or the Apple App Store | Publish at least to a testing track and link the app in AdMob. AdMob ads not showing in a new app |
| Developer website in the listing | The store listing must include a developer website. In Google Play add it under Store listing contact details. | Add your website URL there and save |
| A website you control | You must have a developer website to use app-ads.txt. If your site cannot host a root-level file, Google suggests Firebase Hosting. | Use your own domain's hosting, or a free static host |
If you do not have a website yet, create a small static one with a home page, a privacy policy and the file. A privacy policy is needed anyway. See the Data safety and privacy policy guide.
Google says the file must follow the IAB Tech Lab format and your publisher ID must be included and formatted correctly. Each line has the pattern domain, account ID, relationship type, as in this example with a placeholder ID:
google.com, pub-0000000000000000, DIRECT
Your AdMob snippet may include extra fields at the end, which is why you should copy it from AdMob instead of typing it. A typo in the ID or the wrong domain, such as admob.com instead of google.com, is a listed cause of failure.
Upload the file to the root directory of your developer website, so that it opens at https://yourdomain.com/app-ads.txt. On shared hosting, that is the same folder as your home page, often called public_html. Then open the URL in a browser. Google says if the content displays, AdMob will likely find it.
| Hosting setup | Where the file goes | Check |
|---|---|---|
| Shared hosting or cPanel | In public_html, next to index.html | Open yourdomain.com/app-ads.txt |
| Static site generator | In the folder that is copied to the site root | Check after deploying |
| Firebase Hosting | In the public folder you deploy | Check after deploying |
| WordPress | In the site root folder, with a file manager or FTP | Check the URL, not the dashboard |
One domain can serve many apps. Keep one file with all your lines and use the same developer website for every app you publish. See publishing a Thunkable app or publishing a Flutter app if you are still building.
The crawler takes the developer website from your store listing and checks https://hostname/app-ads.txt and then http://hostname/app-ads.txt. Google gives these rules:
| Situation | What the crawler checks |
|---|---|
| Listing URL is https://www.example.com/game | example.com, because www. and m. subdomains are excluded |
| Listing URL is http://support.help.example.com/game | help.example.com first, then example.com |
| Your server redirects to another location | Redirects can be valid, including to a www. subdomain |
| You changed your website or listing recently | Allow up to 24 hours for detection |
If the file cannot be published at the current location, update your store listing to point to a different subdomain or domain. A file on an unsupported subdomain must be reachable at the app-ads.txt URL shown in your AdMob account.
Google notes that the status will not show if your app has not generated an ad request in the last 7 days. A new app that is not serving yet may therefore show nothing for a while. If your ads themselves are missing, read ads not showing in a new app and limited ad serving.
| Problem | What Google says | Fix |
|---|---|---|
| File not found | The file must be on your developer website domain, the app registered, and the website in the listing | Check all three, then check the URL in a browser |
| Website missing from the listing | Look at the Developer Website link in the Google Play app support section | Add it under Store listing contact details |
| Invalid website URL | Check it against the crawler and subdomain rules | Use a root domain or a supported subdomain |
| Formatting errors | A missing or incorrect publisher ID, typos or the wrong domain | Replace the whole file with the snippet from AdMob |
| robots.txt blocks the crawler | Add User-agent: Google-adstxt followed by Disallow: | Edit robots.txt. The crawler also obeys Mediapartners-Google and Googlebot rules. |
| Crawler hits the wrong URL | The detailed status shows the exact crawled URL | Set a redirect from that URL to the correct one |
A robots.txt example that allows the crawler:
User-agent: Google-adstxt
Disallow:
| Mistake | Fix |
|---|---|
| Waiting until after launch | Prepare the website and the file during your closed test. More about the closed test |
| Using a free blog URL you do not control | Use a domain where you can upload a root file |
| Different developer websites for different apps | Use one site and one file for all your apps |
| Typing the line by hand | Copy it from AdMob |
| Saving as app-ads.txt.txt | Show file extensions and rename the file |
| Clicking your own ads to test | Never do this. Invalid traffic and appeals |
Finally, remember the declarations. Your Data safety form for an AdMob app must match the ads you show, and your target audience answers affect which ad settings are allowed.
Google describes it as the standard file that establishes who owns an app and which sellers are authorized to sell its ads. It is a plain text file hosted on your developer website.
In the root directory of your developer website, for example example.com/app-ads.txt. Open the URL in a browser: if the content displays, AdMob will likely find it.
From the developer website in your store listing. In Google Play, add it under Store listing contact details. Google says you must have a developer website to use app-ads.txt.
Google says it can take up to 24 hours for AdMob to crawl and verify your file, and store listing changes can also take up to 24 hours to be detected.
Google says the status will not show on the app-ads.txt page if your app has not generated an ad request in the last 7 days.
Crawlers exclude www. and m. subdomains. For https://www.example.com/game they check example.com. For other subdomains they check up to the first-level subdomain.