How to create an ads.txt file?

nelliyat anjali
Automatad, Inc.
Published in
1 min readNov 20, 2017
Source: Headerbidding.co

In the previous post, we explained about what ads.txt is and why you should be concerned about it as a publisher. In this post, we explain how it can be created and how to verify if your ads.txt file follows the format.

How to create ads.txt file ?

The HTTP Content-type should be ‘text/plain’, any other Content-type will be treated as an error or will be ignored.

You need to include a separate line in the file for each authorized seller.

You can add comments or variables, however, these values will not be processed.

Each line in a publisher’s ads.txt list requires three pieces of data (plus a fourth optional field) separated by a comma.

Click here to read more.

--

--