Resolve issues with app-ads.txt

Carefully review the details you receive in your account to determine why your app-ads.txt file isn’t found and verified. The following table includes more details about troubleshooting app-ads.txt.

Issue What you can do
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, some time will be required for AdMob to detect these changes:

  • Google Play apps: Up to 24 hours
  • Apple App Store apps: Up to 7 days
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 look for an app-ads.txt file on the root path of the site. Learn more.

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, some time will be required for AdMob to detect these changes:

  • Google Play apps: Up to 24 hours
  • Apple App Store apps: Up to 7 days
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. 

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 like:

  • A missing or incorrect publisher ID
  • Any typos in the URL or publisher ID
  • An incorrectly formatted publisher ID
  • The wrong domain, like 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://apps.admob.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 not formatted correctly. 

You’ll need to update the app-ads.txt file to properly format your publisher ID. 

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://apps.admob.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. 

You’ll need to update the app-ads.txt file to include your publisher ID. 

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://apps.admob.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 app-ads.txt file. 

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.

 

See an app that isn't yours? Learn more
Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue