Skip to main content
All CollectionsAdvancedAds.txt Help!
How To Update Your Ads.txt file
How To Update Your Ads.txt file

If your /ads.txt file is out-of-date, you'll need to update it. Read below for instructions!

Heather Tullos avatar
Written by Heather Tullos
Updated over 10 months ago

NON-WORDPRESS USERS

Blogger and Squarespace users can follow the associated guide below to update this file:

All other non-wp platforms with access to their root directory should follow the instructions included here:

WORDPRESS USERS

1. Verify the installed version of Mediavine Control Panel is 2.6.0 or higher.

2. Check your Mediavine Control Panel settings.

Depending on your site's server configuration, you may see an option to update the ads.txt file. Click the "Update Ads.txt" button and move to step 3:

If you get an error message after clicking "Update Ads.txt", then it is likely that there are settings on the server level that are preventing us from properly writing that file. You'll need to contact your host to see if they can change that setting, or the file will need to be manually added via File Transfer Protocol to ensure it is up-to-date. For instructions on that, please see this help page.


If you are running Sucuri, please follow these instructions in Sucuri to set ads.txt as a non-cache URL.

Otherwise, if you don't see that button then it means your server and WordPress installation is configured in a manner that would allow our plugin to automatically handle a redirect to an updated ads.txt file on our server.

If this is the case, then you can go to step 3.

3. Clear your site's cache.

If you have any caching plugins installed, you'll want to clear their caching. The option to clear cache can be found along the top menu bar in your WordPress Admin:

4. Check your dashboard's ADS.TXT site health check to make sure it is teal. The status should update near 5pm EST.

5. If your Ads.txt file updates successfully...

Then you're all set. The error message should disappear. If it does not, please email publishers@mediavine.com.
โ€‹

Did this answer your question?