Notification

Get personalized optimization tips, understand your account health and set up completion on the improved "My AdMob page".

Apps

Resolve issues with app-ads.txt

This article reviews issues that you might have with your app-ads.txt file.

To get started, carefully review the details you receive in your account to determine why your app-ads.txt file isn't found and verified. Once you determine the issue, you can use the details below to help you troubleshoot your app-ads.txt.

Issues with your app-ads.txt file

The app-ads.txt file isn't found

Set up an app-ads.txt file and publish it on your developer website domain. Follow the instructions for setting up an app-ads.txt file.

Ensure that your app is registered with Google Play or the Apple App Store and that your developer website is included in the store listing for your app.

It can take up to 24 hours for AdMob to automatically crawl and verify your app-ads.txt files. Wait at least 24 hours for the app-ads.txt status to update.

Note: If you've recently added a developer website or updated your app listing in Google Play, allow up to 24 hours for AdMob to detect these changes.

Your developer website is missing from your app's store listing

Add a developer website to your app's listing in Google Play or the Apple App Store. We'll use your website's domain to check for an app-ads.txt file on the root path of the site. Learn how to establish a developer website.

If your app is published in multiple languages, verify that the correct developer website appears for each language variation.

Note: If you've recently added a developer website or updated your app listing in Google Play, allow up to 24 hours for AdMob to detect these changes.

Your developer website URL isn't valid

Check the URL of your developer website and make sure it's working properly. Ensure there are no typos in the developer website URL in your app's listing.

Your app-ads.txt file is hosted on an unsupported subdomain

Ensure that your web server hosts your app-ads.txt file or redirects to the correct location when you enter the app-ads.txt URL shown in your AdMob account. The app-ads.txt URL shown in your account is the URL AdMob uses to find your file.

Update the developer website in your app's store listing to the site's subdomain or a different domain if you are unable to publish a file at the current location or want to use a different website.

Tip: Refer to the app-ads.txt FAQ for more information.

Your app-ads.txt file is not formatted correctly

Review the Authorized Sellers for Apps specification provided by the IAB Tech Lab to ensure you've formatted your file correctly.

Check your app-ads.txt file for issues:

  • A missing or incorrect publisher ID
  • Any typos in the URL or publisher ID
  • An incorrectly formatted publisher ID
  • The wrong domain, such as using "admob.com" instead of "google.com"

Copy and paste your personalized code snippet, which includes your publisher ID, from AdMob into your app-ads.txt file. To find your code snippet:

  1. Sign in to your AdMob account at https://admob.google.com.
  2. Click Apps in the sidebar.
  3. Click View all apps.
  4. Click the app-ads.txt tab.
  5. Click How to set up app-ads.txt
  6. Click Copy next to the code snippet to copy.
  7. Paste the code snippet into your app-ads.txt file.

Your publisher ID is missing or it's not formatted correctly

If your publisher ID is missing or it's not formatted correctly, then you'll need to update your app-ads.txt file.

Copy and paste your personalized code snippet, which includes your publisher ID, from AdMob into your app-ads.txt file. To find your code snippet:

  1. Sign in to your AdMob account at https://admob.google.com.
  2. Click Apps in the sidebar.
  3. Click View all apps.
  4. Click the app-ads.txt tab.
  5. Click How to set up app-ads.txt
  6. Click Copy next to the code snippet to copy.
  7. Paste the code snippet into your app-ads.txt file.

A robots.txt file is preventing the Google crawler from crawling your file

The app-ads.txt file may be ignored by crawlers if a robots.txt file restricts crawling. If your app-ads.txt URL redirects to a different hostname, note that any robots.txt file on that subsequent hostname can also impact crawlers, too.

Update your robots.txt file to allow Google to crawl your app-ads.txt file.

Add the following two lines of text to your robots.txt file:

User-agent: Google-adstxt
Disallow:

Note: In addition to Google-adstxt, the crawler will also obey Mediapartners-Google and Googlebot robots.txt User-agent records.
Tip: Learn what to do if you find an app that isn't yours.

Was this helpful?

How can we improve it?
true
‘My AdMob Help Page’ - your personalized Help Page to help you thrive on AdMob.

Introducing our newly revamped My AdMob Page,  a personalized Help page that houses relevant information for your account.

You can better maintain your account health, ensure necessary setup is completed and have the right optimization tips targeted to your apps. Stay tuned for more!

Learn more

Search
Clear search
Close search
Google apps
Main menu
1896467523768333485
true
Search Help Center
true
true
true
true
true
73175
false
false
false
false