What is Ads.txt?

See how to add PurpleAds lines to your ads.txt file, and what to do if you have missing lines

Yosi Dahan avatar
Written by Yosi Dahan
Updated over a week ago

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.

First, a publisher adds an ads.txt file containing information about all the programmatic partners (supply-side platforms, ad exchanges, ad networks, etc.) that they work with to their web server and hosts it under their root domain.

You can manually check to see if a website has an ads.txt file and view its contents by adding /ads.txt to the end of the root domain, e.g. mywebsite.com/ads.txt

PurpleAds Ads.txt Lines

Your account's ads.txt lines can be found in your Publisher Dashboard.

We strongly recommend that you update your ads.txt file.
โ€‹
Verifying your inventory will help us deliver the highest quality ads for your visitors, and also ensure trust and transparency with both advertising buyers and sellers.

  1. Copy the following lines.

  2. If you already have an existing ads.txt file, just paste the following lines into your file and save.

  3. If not, create a new TXT file, paste the lines and save the file with the name "ads.txt".

  4. Upload it to the root of your domain e.g. mywebsite.com/ads.txt.

  5. If you are using Wordpress, there are many plugins that can do the job for you, search for ads.txt in the plugins page, or see this video.

  6. Make sure the file is accessible under your domain, e.g. mywebsite.com/ads.txt

  7. For any help, please reach out to the support team via the live chat.

WordPress plugin

Simplify your ads.txt management in WordPress with PurpleAds adstxt manager.

Effortlessly handle and update your ads.txt files using our user-friendly plugin.

You can download the plugin directly from the WordPress Plugin Directory here.

  1. Copy the lines.

  2. paste the following lines in the plugin page and save.

Missing lines? Here's what you need to do

If you updated all ads.txt lines but PurpleAds isn't detecting it, try our troubleshooting guide.

If one of your site's Ads.txt Status shows "Missing or invalid lines" you can click on the site in your dashboard and select the "Ads.txt" tab to see the missing lines:

Did this answer your question?