A step-by-step guide to help you easily add Ads.txt file to your Google Blogger blog with no mistakes. How to add ads.txt for Blogger blogs is simple and you can do it in a minute. This post will guide you on how to do that and also how to check if ads.txt has been properly added to your blog.
What is ads.txt file for?
Well, I have a simple answer for you: Adding ads.txt file (eg. For Google AdSense) to your blog or website is a way to publicly declare that Google is authorized to sell your ad inventory. It’s a way you declare that you approve of AdSense program for your blog.
I will list the steps involved in adding ads.txt file to Blogger and then show you in details how to do it, also with screenshots.
Steps to Add Ads.txt file to Google Blogger
- Click the Down Arrow Button at the top left of your Blogger blog
- Select the blog where you want add ads.txt file.
- Click the Settings button on the left
- Under “Settings,” click Search Preferences.
- Under “Monetization,” Click “Edit” where it says “Custom ads.txt”.
- Click Yes.
- Copy the text for the ads.txt from the ads program you want to add and paste it there.
- Click Save settings to finish the setup.
Now, let me SHOW you how this is done using Google AdSense as an example.
There are other programs similar to AdSense. But since AdSense is the most popular one, I will use AdSense in this example.
Note that the steps are the same whether it’s AdSense or any other ads program. The only difference is in the code you will paste into the ads.txt file.
Alright… First, how get your unique publisher ID from AdSense. See how to do it below:
Step 1: Login to Your AdSense account so you can copy your AdSense publisher ID
Step 2: In your AdSense account, click Settings:
Step 3: Click Account, then click Account information.
Step 4: You will see your AdSense publisher ID there. Copy it:
Now we are done with AdSense. Let’s head over to Blogger
Step 5: Login to Google Blogger
Step 6: Click the Down Arrow Button located at the top left and select the blog where you want setup ads.txt for Google AdSense:
Step 7: Click the Settings button from the menu options on the left
Step 8: Under “Settings,” click Search Preferences:
Step 9: Under “Monetization,” Click “Edit” where it says “Custom ads.txt”.
Time to get the text. See examples below….
Copy the text below and replace ONLY 0000000000000000 with NUMBER part of your publisher id you copied in step 4:
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
That is, REPLACE 0000000000000000 with the numbers in your publisher id. The “pub-” part of your id is already there, so only the number part is what you need to replace.
For example, if my publisher id is pub-1234567890123456 Then what I will have is:
google.com, pub-1234567890123456, DIRECT, f08c47fec0942fa0
Step 10: Paste the resulting text (after you have replaced 000… with the numbers in your pub- id) into the “Custom ads.txt” edited in step 9:
Let me zoom in to make it larger:
Step 11: Click Save settings to finish the setup.
Note again: 0000000000000000 is just an example. Replace it with the numbers in your publisher id.
How to check if ads.txt has been added to your website or blog
To confirm that ads.txt has been added to your blog, simply go to yourblog.com/ads.txt
For example, if your blog address is myawesomeblog.com, then go to myawesomeblog.com/ads.txt and you will see the stuff you pasted into the ads.txt file there. Please help me SHARE this post using the share buttons below. Thanks. That’s all. Congratulations!