How to Create Ads.txt AdSense on WordPress

Tips & Tricks
create Ads.txt on WordPress featured

Simple step by step tutorial how to create Ads.txt on WordPress. Fix Ads.txt file now to avoid severe impact to your website revenue.

Early April 2019, a warning message appears on AdSense dashboard for many publishers that yet implemented ads.txt on their website. It says “Earnings at risk – One or more of your sites does not have an ads.txt file. Fix this now to avoid severe impact to your revenue.”

create Ads.txt on WordPress Adsense warning message
Warning message about ads.txt on Adsense dashboard

What is Ads.txt and why you should implement it?

Ads.txt stands for Authorized Digital Sellers. A project developed by various digital market leaders including Google, aimed at eliminating domain-spoofing.

This, to create more reliability environment between advertiser and publisher in advertising.

From publisher side(You as an AdSense user), list on Ads.txt file you created will represent who can use your space on your website for advertisement.

Of course in this case, you have to include your AdSense id on the list and give permission for AdSense to display their advertisements.

If you haven’t done so, the warning message will pop-up on your AdSense dashboard. And as result AdSense ads will disappear or blank. That is why, you must create one.

How to create Ads.txt Adsense on WordPress

Google advertiser products will only buy from ads.txt certified inventory by default.

This means publishers without an ads.txt file on their sites could potentially miss out on that digital ad revenue from Google.

To create ads.txt for website that uses WordPress is simple and straight forward. Follow steps below

  1. Login to your WordPress
  2. Head to Plugins – Add New
  3. On the search field, type “ads.txt”. You will see Ads.txt Manager plugin as one of the result. Click Install Now
  4. Once done, click Activate.
  5. Now head to Settings – Ads.txt
  6. Now, type, pub-0000000000000000, DIRECT, f08c47fec0942fa0
    remember to change the zero (0) numbers with your AdSense id

    You can find your own AdSense id from browser address bar where your AdSense account logged in
  7. Then Click Save Changes
  8. Done.

Now, you can check the ads.txt file by typing url on your browser “yourdomain/ads.txt” then Enter. If you see the same phrase as on your plugin, then congratulations, you have done it correctly.

That is how you create Ads.txt Adsense on WordPress. If you encounter any problem, don’t hesitate to comment down below.

7 thoughts on “How to Create Ads.txt AdSense on WordPress

    1. Every ad code always contains your id number and there is nothing wrong with it. As for the warning, its because you haven’t created ads.txt file under your root domain website “”. To fix this, you have to create one by following steps explained above

  1. Appreciating the dedication you put into your website and detailed information you
    offer. It’s great to come across a blog every once in a while that isn’t
    the same outdated rehashed material. Wonderful read!
    I’ve saved your site and I’m adding your RSS feeds to my Google account.

Leave a Reply

Your email address will not be published. Required fields are marked *