app-ads.txt for Publishers


Publishers must use the app-ads.txt file to designate authorized digital sellers of their ad inventory, and DSPs use it to validate that they are buying inventory through an authorized source. Implementation is optional, but we strongly recommend adoption to optimize spend, as many buyers require this level of transparency.

In 2018, the IAB launched ads.txt, a file enabling web publishers to designate authorized digital sellers of their ad inventory. app-ads.txt is the mobile in-app equivalent of this specification, which mobile publishers can implement. This text file declares your Authorized Digital Seller (ADS) List to prevent unauthorized sellers from profiting off your inventory or from selling counterfeit inventory.

Prerequisite for app-ads.txt file

Your developer website must be linked in the store listings for your applications, this allows third parties to establish the correct ownership of the app.

Apple App Store Add your developer website in the marketing URL field of your store listing.

Google Play store Add the website URL in the contact information of your app listing:

  1. Sign in to your Play Console.
  2. Select an app.
  3. On the left menu, click Store presence and then Store listing.
  4. Scroll to Contact Details.
  5. Add your developer website URL.

Implement app-ads.txt

To implement app-ads.txt:

  1. In the Publisher UI, verify necessary fields. Buyers on MoPub Marketplace require these data signals to be correct in order to bid on your app:

    • In Account Settings, ensure that the correct Domain is entered for the account. This value must reflect the root location of the site where the app-ads.txt file is hosted. Additionally, it should match the domain specified as the developer site when submitting the app to the app store.

    • Under the Apps tab, click to edit each application, and in the Edit App page, ensure that the correct value is entered in the Store URL (recommended) field.

  2. Provide a developer website in your app store listings. Ensure that the proper developer website URL is accessible in the developer website section of the app store.

  3. Create the app-ads.txt file in Notepad.

    If you have multiple frontend accounts (publisher IDs), make sure that your app-ads.txt file reflects this. Create a row for each publisher ID in the app-ads.txt file.

    Include the following data:

    • Ad Source Domain: For MoPub, this value is

    • Publisher ID: Refer to these instructions to find your Publisher ID.

    • Type of Relationship: All of MoPub’s publisher relationships are direct, so the value for MoPub is always designated as direct.

    • Ad Source ID: This is the ad source’s TAG ID. For MoPub, the value is 74b46c0ea83967ca.

      The following is an example of the MoPub entry in a publisher’s app-ads.txt file with a sample publisher ID. The four parameters are separated by commas, with a separate line for each authorized partner:, 3662aebfe17b42128f0031f88fce5fa8, DIRECT, 74b46c0ea83967ca
  4. Publish the app-ads.txt file in the root of the app developer’s developer website; for example,

  5. Validate that the file is taking effect. While we do not currently offer a validator tool for app-ads.txt, you can verify that it is correctly implemented by appending “/app-ads.txt” to your main domain (as in, https://<>/app-ads.txt).

Although implementing this spec is optional, we encourage all publishers and DSPs to adopt app-ads.txt as a best practice to help further our industry’s overall transparency and trust. For more information, refer to the IAB Tech Lab’s specification in its entirety on its website.

Integrate with Rubicon

Additionally, MoPub has an integration with Rubicon’s trusted exchange. With this integration, you immediately gain access to a larger number of DSPs through the MoPub Marketplace, with additional brand-focused spending at high CPM. To access this high-value demand, include the following entry in your app-ads.txt file:, 21648, RESELLER, 0bfd66d529a55807

MoPub’s Tag ID

If you are implementing app-ads.txt MoPub’s Tag ID is 74b46c0ea83967ca.

Last updated August 28, 2021

TWITTER, MOPUB, and the Bird logo are trademarks of Twitter, Inc. or its affiliates. All third party logos and trademarks included are the property of their respective owners.

© 2021 MoPub (a division of Twitter, Inc.)