Register Login Featured
Stats: 2418 members, 1523 topics. Date: Monday, 20th August 2018

General Wordpress Blogspot Forums Crypto Traffic Money

Google Adsense: How to set Ads.txt on blogger Blog to avoid severe impact to your Earnings And also Declare who is authorized to sell your inventory with ads.txt

Google Adsense: How to set Ads.txt on blogger Blog to avoid severe impact to your Earnings And also Declare who is authorized to sell your inventory with ads.txt by : 6:55 pm On January 31, 2018

This Morning i got a mail from Adsense, with panic i logged into my Adsense Account only for me to get a message staring at me which stats that

Earnings at risk – One or more of your ads.txt files doesn’t contain your AdSense publisher ID. Fix this now to avoid severe impact to your revenue.

No one jokes with Adsense warnings except you are ready to loose your account with the huge amount of money inside it, would you?? lol

Google AdSese - how to set ads.txt on blogger blog

According to Adsense the ads.txt files must be uploaded to the root directory of your blog and within 24hrs after you have uploaded the .txt file as requested  the message will vanish and your account will be safe, But there is a very big problem…….


Do you know that Blogspot blog does not support or have any root directory infect they don’t support it? because it is a free platform as our blog were hosted on Blogspot for free, The only way you can have a root directory is to get a self hosted blog be it any blog as every hosting account comes with root domain/Directory and you will also have total control over your blog therefore you wont have to wait for any free host (Blogspot) to provide alternative to the root domain issue before the solution can be carried out to save your account.


But Hey! Don’t get panic dear reader Blogspot Has got us covered as my own blog which was affected is also a Blogspot blog, therefore there is a very simple solution to this, THANKS TO BLOGGER.


But Before that i would want you to know what ADS.TXT FILE means and why it was implemented by GOOGLE.


The Ads.txt File which Simply Means Authorized Digital Seller (ads.txt) is a protocol was launched on Blogger (Blogspot) Late October last year but started taking effect earlier this year (due to nationwide complain this year i assume it started taking effect this year)


If you haven’t heard of it yet, be prepared to hear a lot about ads.txt in the coming months. The Ads.txt File which Simply Means Authorized Digital Seller (ads.txt) is a protocol which was launched on Blogger (Blogspot) Late October last year but started taking effect earlier this year (due to nationwide complain this year i assume it started taking effect this year) it major aim is to clean up digital advertising and bring transparency to advertising. Although this has almost immediate impact on publishers, including those just using AdSense, many publishers are still unaware of it.  The initiative came about in the wake of a number of scandals around the misrepresentation of ad inventory that resulted in big money being spent on bad inventory. The solution, backed by the IAB and most of the big players in the ad space is deceptively simple (and for once cheap and easy for publishers of all sizes to implement).

Update October 2017: Google have announced that from October 15th they will stop buying inventory from sites that have an ads.txt file that doesn’t match the ad request. This means that it is imperative that publishers have their ads.txt correctly set-up right away if they have the file present.  Google are not yet blocking buys from sites with no ads.txt files, but this will follow.  For now the biggest risk is from incorrectly implemented ads.txt files.

How does ads.txt work?

Ads.txt is simply a text file that sits on your server and lists the places authorised to sell ads on your behalf. The “ads” part of the name is an acronym for “Authorised Digital Sellers”. The idea is simple: Buyers can collect this data and be sure that if they’re paying for ads on then that is where those ads will appear (see example from .

The file simply lists the accounts that are authorised to sell the inventory, doing so in a format that can be easily crawled and indexed.

What do publishers stand to gain from implementing ads.txt?

If you are the New York Times, the benefit is obvious: Advertisers looking for exposure on your site won’t be tricked into buying misrepresented inventory and you retain control over pricing. As the standard gains more widespread adoption buyers are more likely to require ads.txt for all buys, making it more relevant to less well known publishers too.

Q: What are the drawbacks of implementing ads.txt?

The initiative is not without some criticism. Ads.txt is designed to bring transparency, but some argue that it is too transparent. Implementing ads.txt shows exactly where you sell your inventory to anyone who cares to look. If you price your ad inventory differently through different channels this allows buyers to shop around for the lowest price

Take, as an example, the ads.txt file for Business Insider :

#Ads.txt, pub-1037373295371110, DIRECT #video, banner, native, app, 10306, DIRECT #banner, 183963, DIRECT #banner, 184913, DIRECT #banner, 537147789, DIRECT #banner, 538986829, DIRECT #banner, 7161, DIRECT #banner, 3364, RESELLER #native, 1325898517502065, DIRECT #video, banner, app, 87, DIRECT #banner, 688168, DIRECT #native, 4139, DIRECT #native, 11643, DIRECT #outstream, 11445, DIRECT #outstream, pub-8415620659137418, RESELLER #native

If I’m buying ads on Business Insider through one of these partners I can easily see where else inventory is available. I even have the relevant account IDs should I care to go comparing prices. Business Insider have even gone one step further and kindly labelled each demand partner with the types of ads they serve, although this is not part of the standard.

Again, these are “big publisher problems” that many independents would like to face, but are important to be aware of.

Should publishers adopt ads.txt?

Compared with other initiatives publishers are encouraged to adopt, the implementation cost of ads.txt is incredibly low. Five minutes work is enough to get most sites compliant, but despite this adoption hasn’t yet been overwhelming.  According to BuiltWith, only 1.8% of the top 10,000 websites currently use ads.txt, compared with over 44% using DoubleClick (not an entirely fair comparison, as both buy and sell side have reason to implement DoubleClick code, but a useful benchmark). Unsurprisingly, adoption is being led by USA, Germany and the UK.

Currently ads.txt is in a bit of a chicken and egg situation. There is not real drive for publishers to implement it until buyers start filtering to only buy from ads.txt supporting sources. Buyers aren’t implementing those filters yet, as there isn’t enough inventory until more publishers implement. Whether or not the initiative will gain enough momentum to get widespread adoption remains to be seen and is likely to be led by major publishers.

There could potentially be an early adopter advantage to those who have ads.txt in place if/when buyers start filtering on its use. The low cost and ease of adoption means that this could suit independent publishers who aren’t concerned about the transparency issue and have the flexibility to rule out change more easily.

Implementing ads.txt for Google ads (AdSense and Ad Exchange)

Implementing ads.txt is incredibly simple. Create a text file and add one line per authorised partner. On each line add the following three pieces of information, separated by a comma:

  • The domain of the advertising system
  • Your account ID
  • The type of relationship you have with that partner (either DIRECT or RESELLER if you are working through a third party)

There is an optional 4th field which is the TAG ID of the source if they are certified by the Trustworthy Accountability Group.  Once created simply upload that file to your webserver so that it is visible at and you are done.

Google are pushing hard on ads.txt . Whilst they haven’t said that they will stop bidding on inventory that doesn’t have a corresponding ads.txt file, they will stop buying and selling unauthorised inventory in Q4 2017. In practice that means that there is more immediate risk to AdSense and Ad Exchange publishers from badly implementing ads.txt than not implementing it. This makes it doubly important to ensure that:

  1. If you use an ads.txt file you must include declarations for an AdSense and Ad Exchange accounts that you serve
  2. Those declarations need to be correct

ads.txt for AdSense

If you publish ads via Google AdSense and want to implement ads.txt you will need to first locate your publisher ID.  This can be found by logging in to AdSense and then navigating to Settings > Account > Account information.  Your publisher ID is in the format of pub-0000000000000000 with the zeros replaced by your own 16 digit number.

The entry in ads.txt for a publisher’s own Google AdSense account will then look like:, pub-0000000000000000, DIRECT, f08c47fec0942fa0

Please note that the TAGID for Google is always f08c47fec0942fa0 . Also, don’t forget to include the pub- part of your publisher ID, as this is apparently one of the most common errors in ads.txt implementation for AdSense publishers.

Update October 16th: AdSense publishers are now starting to see warnings in their account regarding ads.txt . The warning states Earnings at risk – One or more of your ads.txt files doesn’t contain your AdSense publisher ID. Fix this issue now to avoid severe impact to your revenue.

ads.txt warnings in adsense

This in-account warning complements notices that are being sent by email in the following format:

Dear Publisher,
We’ve noticed that the ads.txt file on one or more of your sites that you monetise through this AdSense account (pub-xxxxxxxxxxxxxxxx) is missing the correct publisher code.
From mid-October, Google will stop buying ads on sites with ads.txt files which don’t include the correct publisher IDs. We recommend you update your ads.txt files immediately to prevent impact to your earnings. Make sure that the ads.txt file for each site you want to monetise through this account contains the snippet below:, pub-xxxxxxxxxxxxxxxx, DIRECT, f08c47fec0942fa0
It may take up to 24 hours for AdSense to process your updated ads.txt files.
You can learn more about ads.txt, how buyers will use it and how to implement it on your sites in our Help Centre.


ads.txt for Ad Exchange

The set-up for publishers with their own direct DoubleClick Ad Exchange account is the same, with the ID being found through DFP by navigating to Admin > Global settings > All network settings. Again the Publisher ID is in the format of pub-0000000000000000.

For publishers accessing Ad Exchange through a GCPP (such as OKO) or other third party the process is the same, but they will need to get the publisher ID from their managing partner and specify it as reseller. To take the example of a publisher using their own AdSense account and accessing Ad Exchange through a partner, their ads.txt file will look like the example below (We’ve labelled with a #comment for clarity):, pub-0000000000000001, DIRECT, f08c47fec0942fa0 # own adsense, pub-0000000000000002, RESELLER, f08c47fec0942fa0 # AdX

Implementing ads.txt for Blogger (Blogspot Blogs)

If your blog is monetized with third-party providers or you’ve manually integrated AdSense in your blog, you will need to manually set up the content of the ads.txt file.

  1. Sign in to Blogger.
  2. In the top left, click the Down arrow Down Arrow .
  3. Click the blog you want to set up an ads.txt file on.
  4. On the left, click Settings.
  5. Under “Settings,” click Search preferences.
  6. Under “Monetization,” find “Custom ads.txt” and click Edit.
  7. Click Yes.
  8. Copy the settings from your third-party monetization provider and paste them in the text box.
  9. Click Save settings.
  10. OptionalTo check the content of your ads.txt file, go to http://<your blog address>/ads.txt.

Note: If your blog is not monetized, or it’s only configured to use AdSense using the Blogger-AdSense integration, then you do not need to manually set up ads.txt. Blogger will do this for you. Read more about ads.txt for AdSense.

also if you are using more than one google publisher on same email e.g Adsense + Admob + Youtube Adsense you will have to manually add the txt files following the above process.


This is seriously a new development that has caught many Adsense Publisher unaware, don’t just read kindly share this post with yours friends and other publishers to save someones account and don’t forget we are here to keep you updated kindly appreciate by dropping a comment, thanks.


Publication author

offline 2 months


18 - An All in one Solution Forum Where we discuss Blogging related Issues, Make Money Online, Traffic and Adsense tips. Etc.

Comments: 103Publics: 664Registration: 31-10-2017


You must be logged in to post a comment.


(Go Up)

Links: (0) (1) (2) (3) (4) (5) (6) (7) (8) (9)

GitHubNg.Com - Copyright © 2017 - Henry Ijogu. All rights reserved. See How To Advertise.
Disclaimer: Every member is solely responsible for anything that he/she posts or uploads on this Forum.


Password generation