Are you experiencing an AdSense Ads.txt issue on Squarespace? AdSense Ads.txt is an important file that allows Google AdSense to display ads on your website. If you’re having problems with your AdSense Ads.txt file on Squarespace, you’ve come to the right place. In this article, we’ll walk you through the steps to fix the issue.
Understanding AdSense Ads.txt on Squarespace
Before we dive into the steps to fix the AdSense Ads.txt issue, let’s first understand what AdSense Ads.txt is and how it works on Squarespace.
What is AdSense Ads.txt?
AdSense Ads.txt is a text file that lists the authorized sellers of your website’s ad inventory. It’s an industry-wide initiative that helps prevent counterfeit inventory and domain spoofing in the programmatic advertising ecosystem. Google AdSense requires that you have an Ads.txt file in place to display ads on your website.
How AdSense Ads.txt works on Squarespace
Squarespace is a website builder that allows you to create a website without any coding knowledge. Squarespace provides an option to add your AdSense Ads.txt file to your website by default. When you add your AdSense publisher ID to your Squarespace website, it automatically generates an Ads.txt file for you. However, sometimes, you may encounter an issue with your Ads.txt file on Squarespace.
Steps to Fix AdSense Ads.txt Issue on Squarespace
Here are the steps to fix the AdSense Ads.txt issue on Squarespace:
You may have noticed a scary looking warning at the top of your AdSense page that says “Earnings at risk — You need to fix some ads.txt file issues to avoid severe impact to your revenue.” This usually means that you need to upload an ads.txt file to your SquareSpace site.

Don’t freak out.
Though SquareSpace doesn’t have an official way to solve this problem, you can easily add an ads.txt file to your site. Adding this file will protect your site from ad hackers and will give your site a wider range of advertisers through AdSense.
Here’s how to add an ads.txt file to your SquareSpace site.
1. Upload a File
Go to your AdSense homepage and click on the side of the error message that says Fix Now. Next, click on the Download button. Save the file to your computer.
Now, go to your SquareSpace dashboard and click Page. Click on your homepage in the navigation and then hover over your homepage on the right of the screen. A menu will pop up. Click Edit.

Somewhere on the homepage, type ads.txt. Highlight the text and click on the link option in the text editor. In the link maker, click on the Gear icon and then File. Upload the ads file you just downloaded from AdSense. Click on it in the files list and click Save and Apply. Now save the page.

2. Copy the Link
We’re almost done! Right click on the link you just made and choose Copy Link Address and paste it in a note app on your computer like Sticky Notes or OneNote. We’ll need it in a minute.

The address will look something like this:
https://lute-turquoises-l6ab.squarespace.com/s/ads.txt
3. Create a Redirect
Go back to your SquareSpace dashboard and choose Setting, Advanced, URL Mapping. In the text box paste /ads.txt -> .
Then copy the tail end of the link after the .com (more than likely it will be /s/ads.txt) and paste it in the text box. Now tap the spacebar and add the numbers 301.
It will look like this:
/ads.txt -> /s/ads.txt 301

Click on Save. You’re done!
4. Make Sure it Worked
Now, to make sure it worked, open a new webpage and in the address bar type your website’s address with /ads.txt at the end. It will look like:
https://www.alinabradfor.com/ads.txt
Go to the address. If your computer opens a new screen so you can download the ads.txt file, it worked.
In 24 hours Google will notice the change and the error message on your AdSense page will disappear.
Conclusion
Fixing the AdSense Ads.txt issue on Squarespace is a simple process. By following the steps outlined above, you should be able to fix the issue in no time. Remember to regularly check your Ads.txt file to ensure that it’s up-to-date and accurate. Doing so will help ensure that your website can display AdSense ads and generate revenue. If you still encounter issues with your AdSense Ads.txt file on Squarespace, consider reaching out to the Squarespace support team or the AdSense support team for further assistance.
FAQs
What is AdSense Ads.txt, and why is it important?
AdSense Ads.txt is a text file that lists the authorized sellers of your website’s ad inventory. It’s an industry-wide initiative that helps prevent counterfeit inventory and domain spoofing in the programmatic advertising ecosystem. Google AdSense requires that you have an Ads.txt file in place to display ads on your website.
What causes the AdSense Ads.txt issue on Squarespace?
The AdSense Ads.txt issue on Squarespace can be caused by various factors, including incorrect publisher ID, unverified website, or incorrectly formatted Ads.txt file.
How can I add my AdSense publisher ID to Squarespace?
To add your AdSense publisher ID to Squarespace, log in to your Squarespace account and go to the “Settings” tab. Click on “Advanced” and then “Code Injection.” In the “Header” section, paste the code.
How can I check my Ads.txt file on Squarespace?
To check your Ads.txt file on Squarespace, go to your Squarespace account and click on “Settings.” Click on “Advanced” and then “Code Injection.” In the “Footer” section, you should see your Ads.txt file. Make sure that your AdSense publisher ID is listed correctly.
What should I do if I still encounter issues with my AdSense Ads.txt file on Squarespace?
If you still encounter issues with your AdSense Ads.txt file on Squarespace, consider reaching out to the Squarespace support team or the AdSense support team for further assistance.