Overview of app-ads.txt

What is app-ads.txt?

Authorized Sellers for Apps, or app-ads.txt, is an IAB initiative that helps protect your app ad inventory from ad fraud. You create app-ads.txt files to identify who is authorized to sell your inventory. Identifying authorized sellers can help you receive advertiser spend that might have otherwise gone toward counterfeit inventory of spoofed apps. 

The app-ads.txt files are publicly available and crawlable by exchanges, supply-side platforms (SSP), and other buyers and third-party vendors.

Authorized Sellers for Apps (app-ads.txt) is an extension to the Authorized Digital Sellers (ads.txt) standard, originally designed for protecting web ad inventory. It extends compatibility to support ads shown in mobile apps.

Use of app-ads.txt is not mandatory, but is highly recommended, especially if you are concerned that others may be spoofing your app. 

Get started with app-ads.txt

  1. Create the app-ads.txt file using the Authorized Sellers for Apps specification provided by the IAB.
  2. Copy and paste your personalized code snippet, which includes your publisher ID, 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
  3. Publish your file on the root of your developer website as listed on Google Play or the App Store. For example, sampledomain.com/app-ads.txt
Note: It can take up to 24 hours for AdMob to crawl and verify your app-ads.txt files. Please wait at least 24 hours for the app-ads.txt status to update. 

Check the details of your app-ads.txt file in AdMob

You can view the details of the app-ads.txt file for all of your apps in AdMob:

  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. View the details of the app-ads.txt file for each of your apps:
    • Status: Lets you know visually the status of each app’s app-ads.txt file. Learn more

    • App-ads.txt URL: AdMob uses this URL to locate and crawl your app-ads.txt file. It's based on the domain associated with your app in Google Play or the App Store. For example, sampledomain.com/app-ads.txt

      If AdMob didn’t find your app-ads.txt file, the URL shown is the domain associated with your app in Google Play or the App Store. 

      If no URL is shown, there is no domain associated with your app in Google Play or the App Store. 

    • App and ID: Your app and its associated ID. For Android apps, it’s the application ID. For iOS apps, it’s the bundle ID. IDs are found via serving and matched to Google Play or the App Store.

    • Store: The app store where your app is available for download.

    • Status details: Lets you know additional details about the status of each app’s app-ads.txt file:

      • The app-ads.txt file is found and verified.

      • No app-ads.txt file found.

      • The app-ads.txt file is found, but the publisher ID is missing. If your publisher ID is missing, you’ll need to update the file by the deadline shown to avoid unintentional loss in ad revenue.

Understand app-ads.txt file statuses

The table below shows the different types of app-ads.txt file statuses and what they mean.

Status What it means
The app-ads.txt file is found and verified. AdMob crawled and verified your app-ads.txt file. 
No app-ads.txt file is found for this app. There could be several reasons AdMob reports that no app-ads.txt file is found for your app:
  • Your app must be registered with Google Play or the App Store. 
  • A developer website must be included in the Google Play or the App Store listing for this app. 
  • The developer website listed in Google Play or the App Store for this app must be a valid URL.
    • Check for typos and ensure that the app-ads.txt file is not on a subdomain. 

The app-ads.txt file is found, but your publisher ID is missing. You’ll need to update the app-ads.txt file to include your publisher ID. 

You can find your publisher ID by clicking Settings in the sidebar. It's located in the Account information section. Learn more

You can also 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

 

Was this helpful?
How can we improve it?