How to Create Ads.txt File For Google Adsense


How to Create Ads.txt File For Google Adsense | In the last few days, Google Adsense started showing a New Message to all the Google Adsense Users that “Your Earning at Risk Create an Ads.txt file & Upload it on your Website

Let me Show you How you can do that, It’s a very way to create Ads.txt File & Implement Into Your Website.

First of all Login to your Google Adsense Account, Here you can see an Error that “Your earning at risk, Create an Ads.txt file & Upload it to your Website”

If your Blog is on Blogger

  1. Log into your Blogger Panel

2. Click on Settings>Search Preferences

3. Here you can see an option Monetisation { Custom Ads.txt }

4. Click on Edit and Paste this Code with your Google Adsense Publisher ID & Save it!

5. Done., pub-0000000000000000, DIRECT, f08c47fec0942fa0

( Use Your own Google Adsense publisher Id)

Now If you are a WordPress User 

  1. Login to Your WordPress Dashboard
  2. Go to Plugins Search ‘Ads.txt Manager

Ads.txt Plugin for WordPress

3. Install & Activate this Plugin.

4. Now Copy the Code {, pub-0000000000000000, DIRECT, f08c47fec0942fa0 } with your own Adsense Publisher ID & Paste this code into the Plugin’s Homepage.

Paste Ads.txt Code into WordPress

5. Click on Save Changes.

6. Now Ads.txt file is successfully Uploaded to your WordPress Website.

A Website can only have 1 valid ads.txt file and it must be placed on the Main Domain name Like

The AdSense notification is sent to you when you to place an Ads.txt file on your site but you don’t have your AdSense publisher information on that Ads.txt.

You can have one Ads.txt on a subdomain but you will still need one on the Main Domain and that should reference the subdomain Ads.txt file.

After 24 hours. AdSense tells you your Ads.txt file is correct. I got an error for not having the AdSense Ads.txt file. I added it to my Website and within 24 hours, I was earning again.

Read Full Information from Google About Ads.txt – Here


Leave a comment