This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /Wordpress

How to Add Ads TXT File in WordPress

Updated on:
May 12, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to upload an ads.txt file to your WordPress site.

Quick summary

Adding an ads.txt file to WordPress is required to verify your authorized digital sellers and fix Google AdSense warnings. This step-by-step process uses the WP File Manager plugin to create and upload the ads.txt file directly to your root domain.


Steps

  1. Log in to your Google AdSense account, navigate to the relevant page, and click "Fix Now" to begin the ads.txt setup.
  2. Click "Download" to get the ads.txt file provided by Google AdSense.
  3. Select the downloaded file and save it — you will need to upload it to the root domain of your WordPress site.
  4. Go to your WordPress dashboard and select "Plugins" from the sidebar menu.
  5. Search for "File Manager", click "Install Now", and then select "Activate" to enable the plugin.
  6. Navigate to "WP File Manager" in the left toolbar, then click the "Add New File" button to proceed.
  7. Select "TXT: Plain text" as the file type and name the file "ads.txt".
  8. Locate the newly created file, right-click on it, and open it with the "Code Editor".
  9. Paste the code copied from Google AdSense into the file, then click "Save and Close" to complete the setup.

📌 Why this matters

Uploading an ads.txt file to WordPress is a critical step for any site monetized through Google AdSense or programmatic advertising. Without a valid ads.txt file on your root domain, ad networks flag your inventory as unauthorized, which can significantly reduce ad revenue and trigger compliance warnings. This demo shows WordPress site owners exactly how to create and publish the ads.txt file using the WP File Manager plugin — no FTP client or technical expertise required. Getting ads.txt right protects your ad revenue, satisfies advertiser requirements, and keeps your AdSense account in good standing.
Your product deserves an interactive demo
Start free
Similar Articles
Wordpress

How to Integrate Replit with WordPress

Madhav Bhandari
Director of Marketing @ Storylane
Wordpress

How to Edit Blog Page Wordpress

Madhav Bhandari
Director of Marketing @ Storylane
Wordpress

How to Find your WordPress Login URL

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Buyer Hub
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Events & webinars
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it