Hello Sunil

How do I create an Ads.txt file for Infolinks

In my last post I have reviewed Infolinks and given complete information how this advertising platform works, eligibility criteria to join Infolinks, minimum payment threshold and much more. Here is the link of that article:

Also Read: Infolinks Review : Is it worth in 2020?

In this article I will discuss about Ads.txt and why its important to add this tiny file into your sever once you are eligible publisher from Infolinks.

Ad fraud has been a constant theme of online advertising and has often showed little sign of slowing down. Industry research reveals that it costs the digital ecosystem about $6 billion per year, with many online advertising companies completely unaware that it’s even happening.

For years, companies have looked at a range of possible solutions to combat this billion dollar problem, but as they say, sometimes the simplest ideas are the best ones, and a new IAB project called Ads.txt is an example of this.

What is Ads.txt?

Ads.txt is an initiative developed by the IAB Tech Lab, aimed at combating certain types of ad fraud, mainly domain spoofing and illegitimate inventory arbitrage, and providing transparency in what is a highly opaque industry.

Domain spoofing, also known as domain hijacking, works in two ways—either by using malware that’s been installed on a user’s computer or by changing the URL in an ad tag. 

Inventory arbitrage – It isn’t exactly ad fraud, but is still a shady practice. Arbitrage is a process in which impressions are bought and then repackaged and resold at a higher price by a third party.

It is a tool created for publishers to allow for a public declaration of the companies approved to sell their digital inventory.

The IAB states on their website that the purpose of the tool is to “increase transparency in the programmatic advertising ecosystem.”

While Ads.txt revolves around advertising, the ads part is actually an acronym that stands for Authorized Digital Sellers.

What problem does Ads.txt solve?

Piracy sites, websites riddled with bot traffic, and other shady websites often use domain spoofing as a way to monetize sites that would otherwise be blacklisted or ignored by advertisers and brands.

The reason this fraudulent practice has existed for so long is because it’s hard for advertisers to confirm that the information passed in the bids is correct, meaning they can not verify if their ads actually appeared on the sites they say the ads did.

Now, thanks to Ads.txt, domain spoofing and selling illegitimate inventory have become a lot harder.

How does it work?

Publishers drop a text file on their web servers that lists all of the companies that are authorized to sell the publishers’ inventory. Similarly, programmatic platforms also integrate Ads.txt files to confirm which publishers’ inventory they are authorized to sell.

This allows buyers to check the validity of the inventory they purchase. The files are publicly available and crawlable by buyers, third-party vendors, and exchanges.

What are the benefits for publishers?

  • Protect your brand and your revenue by preventing bad actors from spoofing your domains.
  • Reassure advertisers on your inventory quality and authorship to allow them to buy with confidence.

How to create an Ads.txt file for Infolinks

Step 1: Create a file as a text (.txt) and host it at the root level of your domain, for example, https://hello-sunil.in/ads.txt

create an ads.txt file

What information goes in an Ads.txt file?

Include a separate line in the file for each authorized seller. Each line in a publisher’s Ads.txt list requires three pieces of data (plus a fourth optional field):

For example:

<Field #1>, <Field #2>, <Field #3>, <Field #4>

FIELD #1: Domain name
FIELD #2: Publisher’s account ID
FIELD #3: Account type (DIRECT/RESELLER)
FIELD #4 (Optional): Сertification Authority ID, if available.

Step 2: Add the following lines to your Ads.txt file:

updated infolinks ads.txt entries

You can get updated Ads.txt for Infolinks from here.

Step 3: Then you should notify your action to Infolinks that you have added Ads.txt file into your server. Here is a sample email sent to Infolinks support team (support@infolinks.com).

Notify Infolinks

You are now done!


If you haven’t already implemented Ads.txt, we encourage you to do it as soon as possible. It’s easy and quick. Getting this done will ensure you earn as much revenue as possible.

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Sunil Pradhan

Hi there đź‘‹ I am a front-end developer passionate about cutting-edge, semantic, pixel-perfect design. Writing helps me to understand things better.

Add comment

Stay Updated

Want to be notified when our article is published? Enter your email address below to be the first to know.

Sunil Pradhan

Hi there đź‘‹ I am a front-end developer passionate about cutting-edge, semantic, pixel-perfect design. Writing helps me to understand things better.