Home / Android / App-ads.txt Integration / Tappx Implementation Guide

App-ads.txt Integration

Tappx Implementation Guide

1.Create the app-ads.txt file

Create a text file and rename it to “app-ads.txt”. According to the specifications, the content of the file should follow a specific format. Each line contains:

<Field #1>,<Field #2>,<Field #3>,<Field #4>
Field #1 = Domain name of the advertising system
Field #2 = Publishers Account ID
Field #3 = Relationship (Direct | Reseller )
Field #4 (Optional) = Certification Authority ID
Ex = tappx.com,,DIRECT,

2.Add your Tappx entries:

  • Go to your “Authorized Digital Sellers” records on your Tappx dashboard https://dashboard.tappx.com/authorizedsellers

  • Copy the entries and paste into your app-ads.txt file of the previous step or download it and save it as app-ads.txt

3.Publish your app-ads.txt file:

  • Upload your app-ads.txt file to the root directory of the website declared in Google Play, App Store or any other app listing so it would be available through your-domain.com/app-ads.txt.

  • If you don’t have your own domain you can use the free app-ads.txt hosting solution, which can be found at https://www.app-ads-txt.com

4.Declare the publisher URL in your app listings

  • Make sure that the app developers website has been set up in Google Play, Apple Store or any other app store listing properly.

  • Don’t worry if you don’t have a custom developer website, you can use the free app-ads.txt hosting solution that you can find at http://www.app-ads-txt.com

5. Activate geolocation (Recommended):

Setting the call to this function to "TRUE" will trigger custom ad search by geolocation. This it can cause revenue to increase by having more focused ads for the user. It must be placed in some main function know that it will be executed.

Tappx.setCollectLocationEnabled(context,true);