How to Add Ad.txt File To Blogger WordPress Custom Html Website?

How to Add Ad.txt File To Blogger WordPress Custom Html Website?

How to add ads.txt file to blogger and wordpress?

First, ad,txt file is nothing but a publishers declares who is authorizer seller for ads space. It is used to protect the online buyer from fraud internet advertising. If you are using google adsense, then you should add adtxt file on your site because of Google has been an active proponent of ads.txt and they buy ad space only the publishers who is having ad.txt file. So in this article we are going to see how to add ad.txt file on your blogger and wordpress.

How to add ad.txt file for blogger?

  • Login to your blogger.com dashboard
  • Go to setting page => select search preference
  • Scroll down in the bottom side; there you can see monetization option => click on edit
  • Then you see” Enable custom ads.txt content?” => Click on yes
  • Then paste the code: google.com, pub-id, DIRECT, f08c47fec0942fa0 => Save it
  • To confirm this, you just add ads.txt in your home page URL, Example: https://youraddress.blogspot.com/ads.txt
Here you are declaring as like this;
  • com is the website that you are going to sell ads space.
  • Pub-id here you have to replace your publishers ID. It is available in your adsense URL
  • Direct => it means google is selling directly and indirect => reseller
  • f08c47fec0942fa0 is common id for all google adsense publishers

How to add ads.txt file on wordpress:

To add ads.txt file for you wordpress, just install plugin is called Ads.txt Manager from your plugin store. => Activate ads.txt manager plugin. => Now go to setting => ads.txt => then add the following: google.com, pub-id, DIRECT, f08c47fec0942fa0 => here replace id to your adsense id. => save it.
That’s all you have successfully added ads.txt file. To view this you can use the following URL
https://yoursite.com/ads.txt

How to add ads.txt file for self-hosted custom website:

For custom website we have to add the file manually which means you have to create .txt file from your computer or follow my steps
  • create file is called ads.txt in your computer and add the following: google.com, pub-id, DIRECT, f08c47fec0942fa0 => save it
  • now login to your hosting => go to file manager => upload the file => thats all.
Ads.txt file is important that used to protect online buyers.

Video Explanation: How to Add Ad.txt File To Blogger WordPress Custom Html Website?

Post a Comment

0 Comments