Everything You Need To Know About Ads.txt

Laura Derrick -

What is ads.txt?

Ads.txt is a publicly accessible file which benefits publishers in that bad actors cannot spoof their domain to secure ad dollars from advertisers, therefore ads.txt aims to increase the transparency. Overall, ads.txt allows publishers to identify who can represent and sell their inventory. Explained simply, it's a file that you can add to your site which verifies that you own it, and shows which ad sellers you approve to buy ad space on your site.

Who is ads.txt for?

It benefits both sellers and buyers. It's for the publisher (webmaster) of a site - whom is the only person who can edit the ads.txt file. It's also for the ecosystem to signal to buyers that their site is receiving authentic traffic or it's an authorized retailer for a specific inventory.

Where does Google come into this?

Google are encouraging publishers to use ads.txt to prevent bad actors from taking action in the ecosystem. Although domain spoofing currently exists mainly for larger sites - it's common for this sort of behaviour to travel downwards and could potentially affect smaller - medium sized sites in the future. Google gives more info here.

I am already participating in ads.txt - what do I need to know?

Make sure that your ads.txt file is up-to-date with all your resellers, because Google will not monetize unauthorized resellers that are not mentioned in your ads.txt file.

Please note Ezoic will automatically append information associated with our network partners.

What are the benefits of adding an ads.txt file to my site?

If you're facing issues with domain spoofing - this will help you solve that problem because you're entering a higher quality and secured ecosystem of programmatic buying. 

What are the risks of adding an ads.txt file to my site?

If you're unsure about which networks are bidding/representing your inventory, then you may be in a situation where you forget a network and they're representing your inventory. This can be detrimental, you need to ensure that all your resellers are mentioned in that ads.txt file.The worst case for publishers is having an ads.txt file that is not up-to-date - so it must be updated regularly otherwise Google will mark your resellers as 'unauthorized' and inventory will not be sold to buyers, this will result in ads not showing on your site. The file is cached so if ads stop serving and changes are made to the ads.txt file to bring it up to date, it may take up to 24 hours for ads to reappear.


The Ads.txt Validator is a good tool to use to check your file for errors:



Can Ezoic help me create a file if I don't have one?

Here at Ezoic - we have the chance to do a lot of the updates for you.  If you're an Ezoic publisher and don't yet have the ads.txt file, you can install an app from your Ezoic App Store called 'Ads.txt' and setup an Ads.txt Manager account.

This will allow you to put all the networks that you want to be authorized into that file. Linked networks are ad networks that you, as the publisher, have ownership of - via Ezoic's Mediation App. Don't worry - Ezoic's ad network partners will still be automatically appended.

What if I already have an ads.txt file?

If you are nameserver or Cloudflare integrated, our system will detect that file and automatically append Ezoic's information. However, if you are Wordpress Integrated, you will still need to create a file with the use of ads.txt manager.

How do I create an ads.txt file if I am Wordpress integrated?

If you are integrated with Ezoic via the Wordpress Plugin, the instructions are slightly different:

1) Open a free account with ads.txt manager here: https://www.adstxtmanager.com/ 

2) Click on "Get Started"


3) Authorize Ezoic and any Ad partners you currently use to monetize your site (most likely Adsense): 


4) If you already have an existing ads.txt file, you can import it. If not, please continue.

5) Next, you will be given an account ID:


6) Ezoic’s information will be automatically added when it is authorized. However, for all the other ad partners you use, you will need to manually enter the information. For Adsense, you would click on ‘Google Adsense’ on the right hand side: 


It should be entered in this fashon: 

google.com, pub - xxxxxxxxxxxxxxxx, DIRECT, xxxxxxxxxxxxxxxx

7) For all other ad partners, you will need to contact them to know the format of the entry. 

8) Go back to ads.txt manager dashboard, go back to ‘Get Started’ tab, and 

lastly validate the file. This can take about 30 minutes!


9) Install the Ads.txt App in your Ezoic Dashboard:



 10) Click on ‘Ads.txt Manager’ button:


11) Remember the Account ID from earlier? Make sure you put that number in the ads.txt app and turn it on! 


12) You will need to install the ads.txt manager plugin and add the account number there (https://wordpress.org/plugins/ads-txt-manager/)


Need Help?
Watch this video that will show you all the steps!
Once finished, you can use this validator to see if your pub ID is showing up on your domain:

Got a question that wasn't answered here?
Please reach out to your Ezoic Account Representative or support@ezoic.com and a member of our team will be happy to help!


Why not check out our blog post on "ads.txt information that websites should know" by clicking here!


Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk