How to add custom ads.txt file in blogger?

ads.txt file in blogger


The best way to earn money from your website is to show advertisements on your site. In ad networks, google adsense is considered as the most paying and trusted ad network.

Recently google has announced that your earnings will be on risk untill you place "ads.txt" file on your website.


ads.txt


Ads.txt:

Ads.txt is a text file that contains a bit details about ad network working on your website. You will write about ad networks (eg, adsense) with its publisher id and have to add that file to your blog or server. You can add one or more than one ad networks in one ads.txt file.


Why to add this file?

A number of hackers get access to your account and place ad codes to your website. Usually when you use nulled script or theme on your website, you give a way to hackers by this. This type of malware and virus can effect your site, that's why you need to add ads.txt file in your website.


Blogger:-

To add ads.txt file in blogger, follow my given steps.


  • Go to blogger and click on "Settings" Tab.
  • And select "Search Preferences" option. 
  • You will see a lot of options there. Just go to "ads.txt" option on last of it.
  • Click on "edit" option and select "yes". And ads.txt file will be Enabled.
  • You just have to paste ads.txt code of any network in text box.

(here i am describing google adsense only, if you are using any other network and search for that network's ads.txt file on google)


Paste given code:-


google.com, pub-xxxxxxxxx, DIRECT, f08c47fec0942fa0


Don't forget to replace pub-xxxxxxxxx with your Adsense publisher ID.


Add ads.txt file


Reseller Ads:-

If you are also showing anyone's ads on your website or selling adsense traffic to someone else then you have to paste given code:


google.com, pub-xxxxxxxxxx, RESELLER, f08c47fec0942fa0


Here also replace pub-xxxxxxxx with your adsense publisher Id. 

You can see this file by going to url

https://www.ekaif.com/ads.txt

(here use your own blogspot or site name instead of ekaif.com)


That's it!
I have pasted the ads.txt code above. If you want code for any other ads network then comment below, I will try my best to help you in this matter.

Post a Comment

2 Comments

  1. Wow, this paragraph is fastidious, my younger sister is analyzing these kinds of
    things, so I am going to let know her.

    ReplyDelete
  2. I'd like to tank you for the efforts you've put iin writing this blog.
    I am hoping to check out the same high-grade blog posts by yyou later on as well.
    In truth, your creative writing abilities has inspired mee to get my vwry own weebsite now ;)

    ReplyDelete