Since Google AdSense has updated its policy relating to adding ads.txt to your blog before ads can display on your blog you need to add custom ads.txt file in your blog. If you still wondering why you need an Ads.txt file then keep reading you will find it useful.

Today, I will put you through on how to Add Custom Ads.Txt File in BlogSpot blog in 2min and you should have zero errors when doing this.

If you know BlogSpot very well you should know that BlogSpot don’t allow you create files and folders like wordpress but after reading this tutorial you should be able to fix that so you can add ads.txt on your BlogSpot.

Google has finally launched Authorized Digital Seller (ads.txt) protocol for BlogSpot allowing you manually set it up manually without uploading any files to BlogSpot root directory which we know don’t exist.

Before you perform this step note that if you are using blogger AdSense integration that comes with your dashboard then you don’t need this setting, BlogSpot will do that automatically for you but if you are using a third party AdSense you probably would like to manually add ads.txt to be able to use the adsense and also show ads on your blog.

What is Ads.txt?

The “Ads.txt” file is a file that carries information about different advertiser networks which are authorized by the website owner, and these advertisers or ad companies can show their ads on your website. The idea behind using ads.txt file is to avoid placement of fraud and false ad placements from unknown sources. Ads.txt file helps buyers in choosing authentic sellers and publishing authentic ads on their blog, website.

How to Setup Ads.txt File on BlogSpot

  • Sign in to Blogger at
  • Select the blog you wish to set Ads.txt file on.
  • On the left, click Settings.
  • Under “Settings,” click Search preferences. Under “Monetization,” find “Custom ads.txt” and click Edit.
  • After enabling your ads.txt file, a text box will appear, copy the ads.txt settings from your third-party monetization platform and paste it into the text box to link your ad monetize with blogger.
  • Click Yes.
  • Click Save changes.

If you want to set your BlogSpot ads.txt file to publicly declare that Google is authorized to sell your ad inventory, copy and paste the code below in the ads.txt box:, pub-xxxxxxxxxxxxx, DIRECT, f08c47fec0942fa0

Make sure you replace pub-0000000000000000 with your own publisher ID.

You don’t have to change f08c47fec0942fa0 everyone uses it.

Also, if you are selling AdSense ads space on your blog, means you’re using some other person’s AdSense on your blog then you need to replace DIRECT with RESELLER to authenticate yourself as a reseller of the particular AdSense publisher ID, like:, pub-xxxxxxxxxxxx, RESELLER, f08c47fec0942fa0

That’s how to add Ads.txt in BlogSpot.

How to Find Your AdSense Publisher ID

Your publisher ID is the unique identifier for your AdSense account and in order to find it follow the step below:

  • Sign in to your AdSense account.
  • In the left navigation panel, click Settings.
  • Click Account, then click Account information.

Alternatively, you can also find your publisher ID number within your AdSense ad code. Just locate the AdSense code in the HTML source code of your website, and you’ll spot your publisher ID in a line.

How to Check Your Ads.txt File content On Browser

To check the content of your ads.txt file, go to

Creating your own ads.txt file gives you more control over who’s allowed to sell ads on your site and helps prevent counterfeit inventory from being presented to advertisers. Each line in a publisher’s ads.txt list requires three pieces of data (plus a fourth optional field).

Note: If you want to set up the ads.txt file for Adsense, Chitika, Sulvo etc, include a separate line in the file for each authorized seller.

That’s how to setup Ads.txt in BlogSpot without facing any problem.


Join our Active Telegram Group chat for discussions and updates
Join Now
This Post was Last updated on February 27th, 2019, we update our content constantly to give you the best.
Note: We don't support duplicate content, this material and other digital content on this website may not be reproduced, published, broadcast, rewritten or redistributed in whole or in part without prior express written permission from Deegeek Nigeria. All content are protected by the Digital Millemium Copyright Act 1996 (DCMA)