Support for the Authorized Digital Seller (ads.txt) protocol has been launched for Blogspot/Blogspot blogs. So, you can now manually set up the content of the ads.txt file via Blogger settings without the need of uploading any file to Blogger’s root directory, which doesn’t exists.
If your blog is not monetized, or it’s only configured to use AdSense using the Blogger-AdSense integration, then you do not need to manually set up ads.txt. Blogger will do this for you.
If your blog is monetized with third-party providers or you’ve manually integrated AdSense in your Blogger blog, you will need to manually set up the content of the ads.txt file.
How To Set Up an ads.txt File On Blogger Manually
- Sign in to Blogger at blogger.com
- In the top left, click the Down arrow Down Arrow .
- Click the blog you want to set up an ads.txt file on.
- On the left, click Settings.
- Under “Settings,” click Search preferences.
- Under “Monetization,” find “Custom ads.txt” and click Edit.
- Click Yes.
- Copy the settings from your third-party monetization provider and paste them in the text box.
- Click Save settings.
Blogger Ads.txt File Set Up for Adsense
If you want to set you your Blogger 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 :
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
Important : Make sure you replace pub-0000000000000000 with your own publisher ID.
How To Find Adsense Publisher ID
Your publisher ID is the unique identifier for your Adssense account and below is how to find it :
- Sign in to your AdSense account.
- In the left navigation panel, click Settings.
- Click Account, then click Account information.
Alternatively, you can 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 like the one shown below:
How To Check Content of Ads.Txt File On Blogger
To check the content of your ads.txt file, go to http://www.yourblog.com/ads.txt.
Authorized Digital Sellers, or ads.txt is an IAB 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 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).