How to Add Ads.txt to Your Squarespace Site
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.