Connect with us

How To Set Up Custom Ads txt in Blogger | Get AdSense Pub ID

How To Add Custom Ads Txt On Blogger & Get Pub ID From Adsense

Blogger

How To Set Up Custom Ads txt in Blogger | Get AdSense Pub ID

Do you want to set up Custom ads.txt in Blogger? You’re in the right place. In this tutorial we will guide you step-by-step on How to get your Publisher ID in Google AdSense account, and How to set up Custom ads.txt in Blogger.

Ads.txt is an IAB (Interactive Advertising Bureau) initiative that helps ensure that your digital ad inventory is only sold through sellers (such as AdSense) who you’ve identified as authorized.

Creating your own Custom 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.

The Publisher ID is a unique identifier for your Google AdSense account. This ID is used when you communicate with Google. Once your Blogger blog is approved for showing ads you need to add your Google Adsense publisher ID in Blogger’s Custom ads.txt file.

In case you don’t know how to monetize your Blogger blog with Google Adsense go through this tutorial:

 

In this tutorial we will cover following topics step-by-step:
  • How To Get Publisher ID in Adsense
  • How To Set Up Custom ads.txt in Blogger
  • How To Test Custom ads.txt

 

01. How To Get Publisher ID in AdSense

Follow the steps to get your Publisher ID in Google AdSense account.

  • Go to your Google Adsense account & Sign In.
  • Click Account.
  • Click Account information.
  • Copy your AdSense Published ID. It starts with “pub-784353…………“.
How To Get Pub ID From Adsense & Add Custom Ads Txt | Blogger Monetization

02. How To Set Up Custom ads.txt in Blogger

In this section you will learn how to set up Custom ads.txt in Blogger.

  • Login to your Blogger account.
  • Go to sidebar and click Settings.
  • Scroll down to Monetization section.
  • Drag the slider towards right to enable Custom ads.txt.
  • Click on Custom ads.txt.
How to add custom ads.txt in new Blogger

 

Now Copy and Paste the following code into Custom ads.txt:

google.com, pub-7387121446043699, DIRECT, f08c47fec0942fa0

  • Replace pub-7387121446043699 with your Adsense Publisher ID as we have guided in the Section 1 (How to Get your Adsense Publisher ID).
  • Click Save.
How to add custom ads.txt in new Blogger

 

03. How To Test Custom Ads.Txt?

Browse your blog and add “/ads.txt” at the end of your blog URL like this:

  • https://www.example.com/ads.txt

 

Test ads.txt in 4 different ways i.e. “with www“, “without www“, “with https“, and “with http” as shown below. If there is no error you will see your Custom ads.txt on browser.
  1. http://www.example.net/ads.txt
  2. https://www.example.net/ads.txt
  3. http://example.net/ads.txt
  4. https://example.net/ads.txt
How To Get Pub ID From Adsense & Add Custom Ads Txt | Blogger Monetization

Remember that your ads.txt must be visible on browser in 4 different ways, otherwise you will get the error “Your Earnings at Risk….” in your Google Adsense account.

If you are getting this error on your Google AdSense “Your Earnings at Risk – One or more of your sites does not have Ads.txt”, Read this tutorial:

If you like this post then don’t forget to share with the other people. Share your feedback in the comments section below. Get access to all the Blogger Tutorials.

 

 

15 Comments

15 Comments

  1. Meer's World

    September 14, 2020 at 12:55 pm

    Read this post, it might help you: Google Adsense Approval (https://www.meersworld.net/2020/01/how-to-fix-valuable-inventory-no-content.html)

  2. Meer's World

    September 22, 2020 at 1:54 pm

    You're most welcome.

  3. Worker Data

    December 24, 2020 at 12:08 pm

    Is it necessary to do the custom ads.text before Adsense could approve a blog? You can see the site here http://www.workerdata.site

  4. Meer's World

    December 24, 2020 at 12:23 pm

    You get Publisher ID only when your website is approved on AdSense. In your Custom Ads.txt you have to add "Publisher ID", so it means that you can configure Custom Ads.txt once your website is approved by Google AdSense.

  5. Rico Henry

    January 16, 2021 at 10:09 pm

    Tnx

  6. Anonymous

    January 23, 2021 at 1:17 pm

    Your site is. Awesome .I have a problem ,please if you guide me , How to creat photo/video gallery in my blog .

  7. Mabia Hussain

    January 29, 2021 at 4:57 pm

    kindly tell me how to get your AdSense account approved

  8. Meer's World

    January 29, 2021 at 5:24 pm

    Create original valuable content, content that offers value to advertisers, bring organic traffic to blog, use ads friendly template. For further help read this tutorial: https://www.meersworld.net/2020/01/how-to-fix-valuable-inventory-no-content.html

  9. Abdulla Mallick

    February 8, 2021 at 1:42 pm

    This comment has been removed by the author.

  10. Abdulla Mallick

    February 8, 2021 at 1:42 pm

    This comment has been removed by the author.

  11. Syuhada Idris

    May 15, 2021 at 3:45 am

    Thanks. Your article really helps me resolve my problems.

  12. Meer's World

    May 15, 2021 at 5:02 pm

    You're most welcome.

  13. Anonymous

    May 30, 2021 at 1:09 am

    please visit https://www.myafricaweb.com/ is it ok for blog website

  14. Meer's World

    May 30, 2021 at 1:46 am

    It is not that bad, you can make lot of improvements. Make sure to write original and unique content. Read this, it will help you a lot: https://www.meersworld.net/2020/01/how-to-fix-valuable-inventory-no-content.html

Leave a Reply

Your email address will not be published.

More in Blogger

Advertisement
Advertisement
Free Guide to start a blog and make passive income
Download Cheap Website Themes
Get Namecheap Shared Hosting With Free Domain
To Top