Complete Guide on Ads.txt

Authorized Digital Sellers or ads.txt is an IAB Tech Lab initiative that helps ensure that your digital ad inventory is only sold through sellers (such as AdSense) who you’ve identified as authorized.

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.

We strongly recommend that you use an ads.txt file. It can help buyers identify counterfeit inventory and help you receive more advertiser spend that might have otherwise gone towards that counterfeit inventory.

Fix ads.txt issues in AdSense

If there’s an issue with ads.txt on your site, you’ll see an alert in your AdSense account. To prevent severe impact to your revenue, follow the relevant steps below to fix the issue.

Note: It may take a few days for your changes to be reflected in AdSense. If your site doesn’t make many ad requests it may take up to a month.

Create an ads.txt file for your site

AdSense provides a personalised ads.txt file that you can download from your account. The personalised ads.txt file includes your publisher ID.

Your publisher ID must be included and formatted correctly for your ads.txt file to be verified.

  1. Sign in to your AdSense account.
  2. If there’s an alert on your homepage, click Fix Now. Otherwise, click Sites.
  3. Click the Down arrow Down arrow to open the ‘Create an ads.txt file for…’ message.
  4. Click Download. Your ads.txt file is automatically downloaded.
  5. (Optional) If you’re using another ad network, remember to add that network to your ads.txt file. Contact your ad network for their ads.txt information.
  6. Upload your ads.txt file to the root directory of your site. The root directory of a site is the directory or folder following the top-level domain (

To verify that you published your file correctly, check that you successfully see your file’s content when you access the ads.txt URL ( in your web browser. If you can see the file in your web browser, it’s likely that AdSense will successfully find it.

Add your publisher ID to an ads.txt file

If your publisher ID is missing from your ads.txt file, you can copy it from your account and add it to your ads.txt file.

  1. Sign in to your AdSense account.
  2. If there’s an alert on your homepage, click Fix Now. Otherwise, click Sites.
  3. Click the Down arrow Down arrowto open the ‘Add your publisher ID to these ads.txt files’ message.
  4. Click Copy.
  5. Paste the line into each of your ads.txt files.

Your ads.txt file should now look like this, where pub-0000000000000000 is your own publisher ID:, pub-0000000000000000, DIRECT, f08c47fec0942fa0

Note: Your ads.txt file must be formatted as specified by the IAB Tech Lab in order to be verified. If you need additional help, review the ads.txt specification.

28 thoughts on “Complete Guide on Ads.txt”

  1. What’s Happening i’m new to this, I stumbled upon this I have
    found It absolutely useful and it has helped
    me out loads. I hope to contribute & assist other users like its aided me.
    Great job.

  2. Hey! This is kind of off topic but I need some guidance
    from an established blog. Is it very hard to set up your own blog?
    I’m not very techincal but I can figure things out pretty quick.
    I’m thinking about setting up my own but I’m
    not sure where to begin. Do you have any ideas or suggestions?


  3. Undeniably believe that which you said.
    Your favorite reason appeared to be on the internet the easiest thing to be
    aware of. I say to you, I certainly get irked while people
    think about worries that they plainly don’t know about.
    You managed to hit the nail upon the top as well as defined out the whole thing without having
    side-effects , people could take a signal. Will probably be back to get
    more. Thanks

  4. excellent post, very informative. I’m wondering why the opposite experts of this sector do not notice this.

    You must continue your writing. I’m confident,
    you have a huge readers’ base already!

  5. I’m really enjoying the theme/design of your site.
    Do you ever run into any internet browser compatibility problems?
    A few of my blog audience have complained about my website not operating correctly in Explorer but looks great in Firefox.
    Do you have any recommendations to help fix this problem?

    • This problem could occur If you are using an older version of WordPress and Internet Explorer 9, You Should adjust the compatibility settings,
      ->Hit the ‘Alt’ button. This will bring up a new menu at the top of your browser. Click on “Tools” ->Compatibility View”, This will make your browser compatible with older versions of WordPress. This is a handy tool.

      ->Sometimes, a lot of problems are caused by outdated versions of WordPress being used; one must always stick to the newest version of WordPress as it fixes many bugs as well as ensures a better user experience.

      ->Then you have several WordPress plugins for Internet explorer to improve your experience like “IE Enhancer and Modernizer Surf Experience”. Such plugins are convenient as they can enhance your experience of using WordPress with Internet Explorer. They can be downloaded through any WordPress plugin section.

      If you are facing compatibility issues with Internet Explorer? Contact us now! Our experts can help you the fix issues.

  6. I loved as much as you’ll receive carried out right here.

    The sketch is tasteful, your authored subject matter stylish.

    nonetheless, you command get bought an nervousness over that you wish be delivering the following.
    unwell unquestionably come further formerly again as exactly the same nearly a lot
    often inside case you shield this hike.

  7. Wonderful blog! I found it while browsing on Yahoo News. Do you have any tips on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem to get there!

  8. Howdy! I know this is kind of off topic but I was wondering which blog platform are
    you using for this website? I’m getting fed up of WordPress because
    I’ve had issues with hackers and I’m looking at options for
    another platform. I would be awesome if you could point me in the direction of a good platform.

  9. Do you mind if I quote a few of your articles as long as I provide credit and sources back to
    your website? My website is in the very same area of interest as yours and my
    users would definitely benefit from a lot of the information you provide here.

    Please let me know if this ok with you. Regards!

    Feel free to surf to my web page; Brigitte


Leave a Comment

Share via
Copy link
Powered by Social Snap