Authorised Digital Sellers, or ads.txt is an IAB initiative that helps ensure that your digital ad inventory is only sold through sellers (such as AdSense or MediaFem) who you've identified as authorised. Creating your own ads.txt file gives you more control over who's allowed to sell ads on your site and helps prevent counterfeit inventory from being presented to advertisers.

If you want to declare MediaFem as authorised sellers in your ads.txt you need to add the following lines from this file:

Beware that if you don't have any ads.txt created and you currently monetizing your traffic with Google Adsense, you will need to add Google Adsense's lines to your ads.txt with MediaFem's lines. So you will need to authorize Google Adsense and MediaFem in the same ads.txt

How to authorize Google Adsense and MediaFem in the same ads.txt file?

To publicly declare that Google is authorised to sell your ad inventory:

  1. Create a ads.txt file. You can upload the same content of this file: 
  2. Then, include Google Adsense seller authorization with the following line:, pub-0000000000000000, DIRECT, f08c47fec0942fa0

    Important: Make sure that you replace pub-0000000000000000 with your own publisher ID.

  3. Host your ads.txt file at the root level of your domain. (for example,