Step by Step Process to Implement app-ads.txt

31 August, 2019

You can implement app-ads.txt file very easily. For the beginners, this article would be very helpful.


Those who have the website and earnings from AdSense they are very much familiar with the ads.txt file because they have to implement the app-ads.txt. This is necessary to add ads.txt file on the root domain in order to prevent frauds.

app-ads.txt file for the website publishers and app-ads.txt for the apps developers. This is a simple text file that shows who are the authorized networks for the website. If you want to see this file to any website just add the app-ads.txt after the domain name. Similarly, just add app-ads.txt after the domain name to see the app-ads.txt file.  See here...  See here...

Table of contents:
  1. What is app-ads.txt file
  2. Email from Google AdMob
  3. Step - 1 (app-ads.txt)
  4. Step - 2 (app-ads.txt)
  5. Step - 3 (app-ads.txt)
  6. See the Result

What is app-ads.txt file:

If you don’t know, what is app-ads.txt file? Please click here to read the article from Google Admob Help

You can also read from the IAB Tech Lab , Authorized Sellers for Apps (app-ads.txt). Click here for PDF Link

Email from Google AdMob:

Did you receive the email from Google AdMob ?

If you are an apps developer and earning revenue from AdMob, you suppose to get an email from Google AdMob Google clearly describes all the matter regarding app-ads.txt. If you don’t know about the email Click here

Follow below to implement app-ads.txt step by step...

1. Sign In to Google Admob account (Step - 1):

You can see the visual status of each app’s app-ads.txt file. So, to do this, you have to Sign In to your Google Admob Account

Now press the Apps button from the left side category VIEW ALL APPS then click to the right side button APP-ADS.TXT.

If you see the image (See the Screenshoot) you can notice that all apps status is “No app-ads.txt file found” because the implementation of app-ads.txt have not done yet for the listed apps.

Now click the “HOW TO SET UP APP-ADS.TXT” button. See the below image.

A pop up window will appear where you will find the app-ads.txt code.


Copy the provided code. The code looks like as below, pub-xxxxxxx, DIRECT, xxxxxxxxx.

If you notice pub-xxxxxxx code, this code is actually your Admob Id. (See the Screenshoot)

2. Publishing app-ads.txt on the developer website (Step - 2):

This is very important to have a website for every developer. There are so many benefits to have a website. Such as: To publish an app to Google Play Store, developer has to provide Privacy Policy and Website Url. Despite that, you can also promote your apps through your website. Therefore, it is wise to have a website to every apps publisher.

Now I will publish app-ads.txt file at the root directory of my website. Here I am providing an example using one of my websites hosted by HostGator.

I will show you two ways to do this. I mean two ways to create .txt file.

Log Into Your Account – HostGator Control Panel

Click on the File manager. File Manager will be opened. Now you have to enter into the public_html folder. Then you have to create a .txt file. Click on below image for Zoom View.


................ 1st Way ................

To create this, you have to click on the +File icon. A pop up window will be shown. Now you have to write the file name as following: app-ads.txt

Now press on the Create New File. A file will be created in the public_html folder. Follow below images for better understanding.

Now select the app-ads.txt file > right click on the mouse and press Edit. A new window will be opened in order to edit the file.

Now you have to go to the AdMob account and have to copy the app-ads.txt code. See the image here.

Paste the code to the app-ads.txt file which we created inside the public_html folder. After pasting the code, press the Save Changes button. Now it is done so Close the window .

See the image here.

Now you have to check implementing app-ads.txt file is oky or not . Open your browser and direct url as the following:

For my case the url will be as

If you notice the following visible code, then you are sure that your app-ads.txt file implementing is okay.


  ................ 2nd Way ................

If you understand the 1st Way, Then you can skip the 2nd Way and can go to the Step - 3

To create app-ads.txt file in another way, Create a Notepad file on your Desktop. Rename the Notepad file as app-ads. Now you have to go to the AdMob account and have to copy the app-ads.txt code. Then paste the code to the Notepad File.

Go to Control Panel of your website> File Manager > Click on the Upload button from File Manager. A new window will open in another tab of your browser. Now click on Select File and upload app-ads.txt file which we created on the Desktop. Go back and check the app-ads.txt file, It has been uploaded. See below image for better understanding.



3. Adding Url to Google Play Developer Console (Step - 3):

Log in to the Google Play Developer Console form where you publish your mobile apps. Click on the app where you want to add the app-ads.txt url. See the image here.

Now Click on the Store listing button from Store Presence Tab. Now you have to paste your website url to the website section in the Contact details area. Now click on the SUBMIT UPDATE button.


See the Result:

Now it is time to wait because it takes time for AdMob to crawl and verify your app-ads.txt file.

Google says to wait at least 24 hours to check the check your app-ads.txt status.

Wow! After only 24 hours Admob verified my appsads.txt file. So the status icon shows green..


Implementing app-ads.txt file is very easy process. I have tried to show you the easy steps to do this. This article might be helpful for the beginners.

If you have any comments, please post below.

Read Our Posts

*Install Our Apps from Google Play Store
->Installing Android Studio
->Installing JDK on Windows
->Make Your 1st Android App
->Custom Toast Message
->Android Snackbar
->Android Alert Dialog
->Android Custom ListView
->RecyclerView with CardView
->Android Notifications
->Android Splash Screen
->Convert Website into App
->Custom Buttons
->Custom TextView
->ProgressBar- Glide/Picasso
->Implement app-ads.txt