How To Add Ads.txt File In Blogger Blog


Most bloggers make most of their money from ads. There are a lot of website owners, and ads are how Bloggers make a living. Through different Ads networks, companies that sell ads place and show them on different websites. 

But for authors to avoid ad fraud and make more money from ads, they need to use the ads.txt file on their blog and website to say who is allowed to sell their ad space. If you want to make an ads.txt file and manage it on a BlogSpot or WordPress site, this lesson will show you how to do it step by step. 

What Is Ads.txt? 

Ads.txt is a file that authors put on their websites to stop domain faking and online ad theft in the Google network. The "Ads.txt" file contains information about different advertising networks the website owner has approved. These advertisers or advertising agencies can then put their ads on your website. 

The idea behind the ads.txt file is to stop scams and false ads from unknown sources from being placed. Ads.txt file helps buyers find real sellers and helps sellers post real ads on their blog, website, or anywhere else they share. 

Google Adsense, DoubleClick, and Ads Exchange all have the Ads.txt file. If an Adsense advertiser has a problem with their ads.txt file, this kind of warning will appear in their account. If we don't fix the ads.txt mistake message, it will hurt how much we make from Adsense. Because of this, it needs to be fixed.

Why Should You Use a Customized Ads.txt File?

Ads.txt, also called allowed digital seller, is an IAB (Interactive Advertising Bureau) project that ensures only allowed buyers sell ad space. It's a technology tool that keeps bad players from arbitraging in the digital ad market. In this guide, we'll show you how to fix your AdSense account's ads.txt notice by adding an ads.txt file to your blog on

Why Is Ads.txt So Important? 

This is very important, and every website creator needs to use ads.txt. By adding the ads.txt code or sending the file, you let companies selling goods sell your items. It can also eliminate fraudulent material for advertisers who spend money on ads. Simply put, this new technology keeps bad players out of the digital ad market. AdSense users must utilize ads.txt because they can't profit from ads without it. 

What Information Goes Into An Ads.txt File? 

We Have To Include Four Pieces Of Information In An Ads.txt File. These Are:

The name of the advertising system's web address. For making the ads.txt file, you must have this information. This means you're able to use the advertiser's website name. For instance, Google seller publisher users of AdSense must use as their advertising name. 

The publisher's account ID. Each advertising company gives an ad code that has a unique publisher ID. In this case, we must add the source ID to the ads.txt file. For example, all AdSense ads will have a unique provider ID. This looks like a bar. 

Type of account/relationship: To show the connection, we must add a number to the Type of Account field. We can use two different kinds of accounts. A) DIRECT B) RESELLER  

Certification source ID: You don't have to use this field, but you can if you want to. This is also called TAG, which stands for Trustworthy Accountability Group. As an official ID, the TAG is used to find the advertising system. The TAG ID for a Google selling account is f08c47fec0942fa0. 

Read Also: How To Setup Adsense Auto Ads In Blogger Blog

So, The Full Code For Ads.txt Will Look Like This:, Pub-xxxxxxxxxxxxxxxx, Direct, F08c47fec0942fa0

Replace xxxxxxxxxxxxxxxx in the above code piece with your AdSense account ID. The first three are required for the ads.txt file, but the fourth, TAG, is not. 

Other Ad Codes From A Third Party Would Look Like This:

  •, 1105733, DIR 

  •, 3251, RESELLER 

  •, 118151, RESELLER, 6a698e2ec38604c6

Here, you can see that the website name, Publisher ID, and types of account details are visible. TAG is optional, so some of them don't use it. 

How Can I Add Ads.txt To Bloggers? 

If we don't use the ads.txt code, AdSense publishers will see an alert message in their AdSense accounts. And we can fix this problem by putting the ads.txt code in. After you put in your AdSense producer ID, the AdSense system will check or find it. Within 24 hours, the red banner with the warning message will be removed from your AdSense account. 

Follow The Steps Below To Add The Adsense Publisher Id To Blogger Using The Custom Ads.txt Choice.

Step 1: Go to your AdSense account and get your provider ID. In the left menu panel of the AdSense interface, you can look for the provider ID. 

Click Settings, then click Account, and then click Account info. 

Under "Account information," you will find the publishing ID.

Step 2: Now, go to your Blogger account and sign in. To sign in, you must enter your Gmail username and password. And choose the Blog where you'd like to put the AdSense Publisher ID. 

Step 3: Under the revenue choice, you'll find a way to turn on custom ads.txt. Click "Edit" and then hit the radio button next to "Yes" to turn on the custom ads.txt tool, as shown in the picture below.

Step 4: After you turn on the ads.txt feature, a text box will show. Now, put the AdSense provider ID in the spot shown below., Pub-xxxxxxxxxxxxxxxx, Direct, F08c47fec0942fa0

Ads.txt Settings, Don't Forget To Change Xxxxxxxxxxxxxxxx To Your Adsense Provider Id. You Can Put Up To 10,000 Characters Here.

Step 5: Click "save Changes" When Everything Is Done.

After Adding The Advertiser's Id To Ads.txt, You May Verify The Code By Going To Your Url, Like 

Post a Comment


Post a Comment (0)

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Check Now
Ok, Go it!