---
title: Setting up Your ads.txt File
description: Set up an Ads.txt file to list Mediavine's authorized selling seas on the ad exchanges to help prevent ad fraud.
---

[Skip to content](https://help.mediavine.com/setting-up-your-ads-txt-file#main-content)

English

Show submenu for translations

[![mediavine-horiz-white-pn-RGB-(r)-spacing](https://help.mediavine.com/hs-fs/hubfs/Logos/Mediavine%20Logos/mediavine-horiz-white-pn-RGB-(r)-spacing.png?width=385&height=100&name=mediavine-horiz-white-pn-RGB-(r)-spacing.png)](https://www.mediavine.com/)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Go to mediavine.com](https://www.mediavine.com/)

[Go to mediavine.com](https://www.mediavine.com/)

 Advice and answers from Mediavine!

- There are no suggestions because the search field is empty.

1. [Help Center](https://help.mediavine.com/?hsLang=en)
2. [Advanced](https://help.mediavine.com/advanced?hsLang=en)
3. [Ads.txt Help!](https://help.mediavine.com/advanced?hsLang=en#ads-txt-help)

# Setting up Your ads.txt File

## Protect your ad inventory and ensure you're getting full value from your advertisers by installing your ads.txt file.

### **What is ads.txt?**

An ads.txt file is a plain text file hosted at the root level of your domain, meaning it lives at the top level of your website (for example, [yoursite.com/ads.txt](http://yoursite.com/ads.txt)). It contains a list of companies that are officially authorized to sell advertising on your site, so buyers know exactly who they’re purchasing from.

### **Why It Matters**

Without an ads.txt file, bad actors can fraudulently sell ad space on your site without your knowledge, costing you revenue and undermining advertiser trust. Ads.txt was created to combat two types of ad fraud:

- Unauthorized reselling of your ad inventory through arbitration - when someone buys your ad inventory and resells it to advertisers at a markup, without your permission
- Misrepresentation or counterfeit ad impressions - when fraudsters impersonate your site to sell fake ad space to unsuspecting buyers

For more information, see the blog post,[Ads.txt Exposing Resellers.](https://www.mediavine.com/blog/ads-txt-exposing-resellers/)

### **WordPress Sites**

The easiest way to manage your ads.txt file is through the[Mediavine Control Panel (MCP)](https://help.mediavine.com/mediavine-control-panel-an-overview-of-our-wordpress-plugin?hsLang=en) plugin, a free WordPress plugin that manages key Mediavine settings directly from your dashboard. Once installed, it will set up and host your ads.txt file automatically, or let you update it with a single click.

To confirm it's active, navigate to your Control Panel settings:

- If you see *Redirecting your Ads.txt to our servers,* you're all set. No further action needed.
- If you see *ads.txt file added to your site*, your ads.txt is still updating automatically, but you'll also see an Update Ads.txt button if you want to trigger an update manually.

![Screenshot\_2026-02-19\_at\_4\_21\_41 PM](https://help.mediavine.com/hs-fs/hubfs/Screenshot_2026-02-19_at_4_21_41%20PM.png?width=670&height=297&name=Screenshot_2026-02-19_at_4_21_41%20PM.png)

### **Updating Your ads.txt File on WordPress**

1. Confirm your Mediavine Control Panel plugin is version 2.6.0 or higher. You can check this in your WordPress plugin settings.
2. Navigate to your Mediavine Control Panel settings. By default, the plugin keeps your ads.txt up to date automatically. To trigger a manual update, click Update Ads.txt. 
     1. If you see an error after clicking Update Ads.txt, a server-level setting may be blocking the action. Contact your hosting provider to resolve it, or manually upload the file via FTP (a method of transferring files directly to your website's server — your host can walk you through this).
     2. If you don't see the update option at all, your server is configured to handle the redirect automatically. No action needed.
3. Clear your site's cache. If you have any caching plugins installed, tools that store a saved version of your site to help it load faster, clear them after updating. You'll find the option to clear cache in the top menu bar of your WordPress Admin.
4. Confirm the update was successful. In your Mediavine Dashboard, you'll see a prompt if your ads.txt still needs attention. If you're using the legacy dashboard, the health check will flag any issues there as well.

![Ads.txt MCP Plugin-1](https://help.mediavine.com/hs-fs/hubfs/Ads.txt%20MCP%20Plugin-1.png?width=670&height=364&name=Ads.txt%20MCP%20Plugin-1.png)

### **Non-WordPress Sites**

If your site doesn't run on WordPress, you can download your ads.txt file directly from your Mediavine Dashboard.

1. Log in to your[Dashboard](https://publishers.mediavine.com/) and select Settings in the side menu, then Ad Setup. At the bottom of the page, select Download Ads.txt File.
2. Upload the file to the root directory of your site (the top-level folder where your website's core files live).
3. To confirm the upload worked, visit[https://www.yourdomain.com/ads.txt](https://www.yourdomain.com/ads.txt) in your browser. If the file loads, you're all set.

If you're using the[legacy dashboard](https://reporting.mediavine.com/), navigate to Settings, then Ad Setup — the download option is at the bottom of the page.

If you run into trouble uploading the file, contact your hosting provider. They can walk you through the process, which may require FTP access.

![New Dashboard - Download Ads.txt](https://help.mediavine.com/hs-fs/hubfs/New%20Dashboard%20-%20Download%20Ads.txt.png?width=670&height=403&name=New%20Dashboard%20-%20Download%20Ads.txt.png)

 

### **Squarespace Ads.txt**

Squarespace doesn't allow direct file uploads to your root directory, but there's a solution. See this article for step-by-step instructions, or email publishers@mediavine.com for hands-on help.

### **Blogger ads.txt**

Blogger has a built-in solution that lets you copy and paste your ads.txt content directly into your backend settings.[Follow the instructions here.](https://help.mediavine.com/ads-txt-for-blogger-sites?hsLang=en)

### **Troubleshooting**

- **Seeing a 404 error when visiting your ads.txt URL?** See [this article](https://help.mediavine.com/ads-txt-is-404-page?hsLang=en) for next steps.
- **Running Sucuri?** Sucuri is a website security and firewall tool that may cache your ads.txt file and prevent it from updating.[Follow these instructions](https://docs.sucuri.net/website-firewall/performance/cache-exceptions/) to set ads.txt as a non-cached URL.

Still have questions? Reach out to publishers@mediavine.com. We're happy to help.

- [Joining Mediavine Ad Management](https://help.mediavine.com/joining-mediavine-ad-management?hsLang=en#main-content)

    - [FAQ](https://help.mediavine.com/joining-mediavine-ad-management?hsLang=en#faq)
- [Launching your Mediavine Ads](https://help.mediavine.com/launching-your-mediavine-ads?hsLang=en#main-content)

    - [Mediavine Control Panel Wordpress Plugin](https://help.mediavine.com/launching-your-mediavine-ads?hsLang=en#mediavine-control-panel-wordpress-plugin)
    - [Installing the Mediavine Script on Non-Wordpress platforms](https://help.mediavine.com/launching-your-mediavine-ads?hsLang=en#installing-the-mediavine-script-on-non-wordpress-platforms)
- [Mediavine Publisher FAQ](https://help.mediavine.com/mediavine-publisher-faq?hsLang=en#main-content)

    - [Getting Started](https://help.mediavine.com/mediavine-publisher-faq?hsLang=en#getting-started)
    - [Site Sales](https://help.mediavine.com/mediavine-publisher-faq?hsLang=en#site-sales)
- [Payment Info](https://help.mediavine.com/payment-info?hsLang=en)
- [Dashboard FAQ](https://help.mediavine.com/dashboard-faq?hsLang=en#main-content)

    - [Getting Started](https://help.mediavine.com/dashboard-faq?hsLang=en#getting-started)
    - [Settings](https://help.mediavine.com/dashboard-faq?hsLang=en#settings)
    - [FAQ](https://help.mediavine.com/dashboard-faq?hsLang=en#faq)
    - [Troubleshooting](https://help.mediavine.com/dashboard-faq?hsLang=en#troubleshooting)
- [Site Health Checks](https://help.mediavine.com/site-health-checks?hsLang=en)
- [Standard Ad Units](https://help.mediavine.com/standard-ad-units?hsLang=en#main-content)

    - [Mediavine Ad Units](https://help.mediavine.com/standard-ad-units?hsLang=en#mediavine-ad-units)
    - [Ad Functionality](https://help.mediavine.com/standard-ad-units?hsLang=en#ad-functionality)
    - [Customizing your ad experience](https://help.mediavine.com/standard-ad-units?hsLang=en#customizing-your-ad-experience)
    - [AMP Ads](https://help.mediavine.com/standard-ad-units?hsLang=en#amp-ads)
    - [Troubleshooting](https://help.mediavine.com/standard-ad-units?hsLang=en#troubleshooting)
- [Site Specific Ad Units](https://help.mediavine.com/site-specific-ad-units?hsLang=en#main-content)

    - [Recipe Ads](https://help.mediavine.com/site-specific-ad-units?hsLang=en#recipe-ads)
    - [Interstitials](https://help.mediavine.com/site-specific-ad-units?hsLang=en#interstitials)
    - [Chicory](https://help.mediavine.com/site-specific-ad-units?hsLang=en#chicory)
    - [Sidebar Alternative](https://help.mediavine.com/site-specific-ad-units?hsLang=en#sidebar-alternative)
    - [Leaderboard](https://help.mediavine.com/site-specific-ad-units?hsLang=en#leaderboard)
- [Video](https://help.mediavine.com/video?hsLang=en#main-content)

    - [Mediavine Universal Player](https://help.mediavine.com/video?hsLang=en#mediavine-universal-player)
    - [Getting Started With Video](https://help.mediavine.com/video?hsLang=en#getting-started-with-video)
    - [Video Features](https://help.mediavine.com/video?hsLang=en#video-features)
    - [Mediavine Video + YouTube](https://help.mediavine.com/video?hsLang=en#mediavine-video-youtube)
    - [Closed Captions](https://help.mediavine.com/video?hsLang=en#closed-captions)
    - [Video Sitemaps](https://help.mediavine.com/video?hsLang=en#video-sitemaps)
    - [Playlists](https://help.mediavine.com/video?hsLang=en#playlists)
- [Optimize Your Ad Performance](https://help.mediavine.com/optimize-your-ad-performance?hsLang=en#main-content)

    - [Using Page-Level Data to Maximize Performance](https://help.mediavine.com/optimize-your-ad-performance?hsLang=en#using-page-level-data-to-maximize-performance)
    - [Tips to Maximize Ad Performance and RPM](https://help.mediavine.com/optimize-your-ad-performance?hsLang=en#tips-to-maximize-ad-performance-and-rpm)
    - [Sweet Land of Money Series](https://help.mediavine.com/optimize-your-ad-performance?hsLang=en#sweet-land-of-money-series)
- [Privacy](https://help.mediavine.com/privacy?hsLang=en#main-content)

    - [Privacy Policy](https://help.mediavine.com/privacy?hsLang=en#privacy-policy)
    - [State Privacy](https://help.mediavine.com/privacy?hsLang=en#state-privacy)
    - [GDPR](https://help.mediavine.com/privacy?hsLang=en#gdpr)
    - [LGPD Lei Geral de Proteção de Dados Pessoais](https://help.mediavine.com/privacy?hsLang=en#lgpd-lei-geral-de-prote%C3%A7%C3%A3o-de-dados-pessoais)
    - [US State Privacy Laws](https://help.mediavine.com/privacy?hsLang=en#us-state-privacy-laws)
- [Ad Quality](https://help.mediavine.com/ad-quality?hsLang=en)
- [SEO Help](https://help.mediavine.com/seo-help?hsLang=en)
- [Site Speed](https://help.mediavine.com/site-speed?hsLang=en)
- [Grow](https://help.mediavine.com/grow?hsLang=en#main-content)

    - [Getting Started](https://help.mediavine.com/grow?hsLang=en#getting-started)
- [PubNation](https://help.mediavine.com/pubnation?hsLang=en#main-content)

    - [Getting Started](https://help.mediavine.com/pubnation?hsLang=en#getting-started)
    - [PubNation Applications and Onboarding](https://help.mediavine.com/pubnation?hsLang=en#pubnation-applications-and-onboarding)
    - [Understanding the Tech](https://help.mediavine.com/pubnation?hsLang=en#understanding-the-tech)
    - [PubNation Ads](https://help.mediavine.com/pubnation?hsLang=en#pubnation-ads)
- [Products](https://help.mediavine.com/products?hsLang=en#main-content)

    - [Mediavine Labs](https://help.mediavine.com/products?hsLang=en#mediavine-labs)
    - [Create](https://help.mediavine.com/products?hsLang=en#create)
- [Advanced](https://help.mediavine.com/advanced?hsLang=en#main-content)

    - [Google Analytics](https://help.mediavine.com/advanced?hsLang=en#google-analytics)
    - [SSL / HTTPS](https://help.mediavine.com/advanced?hsLang=en#ssl-https)
    - [Ads.txt Help!](https://help.mediavine.com/advanced?hsLang=en#ads-txt-help)
- [Conflicts](https://help.mediavine.com/conflicts?hsLang=en#main-content)

    - [Cloudflare](https://help.mediavine.com/conflicts?hsLang=en#cloudflare)
    - [WP Rocket](https://help.mediavine.com/conflicts?hsLang=en#wp-rocket)
    - [Layout Conflicts](https://help.mediavine.com/conflicts?hsLang=en#layout-conflicts)
- [Mediavine Direct](https://help.mediavine.com/mediavine-direct?hsLang=en)
- [Perks & Programs](https://help.mediavine.com/perks-programs?hsLang=en)
- [Navigating the New Dashboard](https://help.mediavine.com/navigating-the-new-dashboard?hsLang=en)

[![mediavine-horiz-black-RGB-2-1](https://help.mediavine.com/hs-fs/hubfs/Logos/Mediavine%20Logos/mediavine-horiz-black-RGB-2-1.png?width=138&height=30&name=mediavine-horiz-black-RGB-2-1.png "mediavine-horiz-black-RGB-2-1")](http://mediavine.com)

mediavine.com Help Center

Copyright © 2026, © Mediavine, Inc.⎪All Rights Reserved