Home » Web Tutorials » Weebly » How to Upload ads.txt File in Weebly?

How to Upload ads.txt File in Weebly?

Weebly is one of the most popular website building platforms to create ecommerce sites. However, you can also create a content, blog or business site and monetize with pay par click advertisements. The best option is to use programs like Google AdSense using the integrated element and approval process within Weebly editor. In order to use such advertisement programs, you need to upload ads.txt file in your site. In this article, we will explain how easily you can do that in Weebly.

Why to Use Ads.txt File?

Ads.txt is an industry standard using which publishers authorize advertisers to sell ad inventory on their site. This is required by almost all advertising programs to avoid unauthorized frauds. For example, Google will block ads if you do not use ads.txt file on your site when using AdSense program. You can see a warning in your account saying the revenue will be lost if you are not uploading ads.txt file.

Missing Ads Txt Warning in AdSense Account
Missing Ads Txt Warning in AdSense Account

So, if you are planning to monetize your Weebly blog then it is mandatory for you to upload ads.txt file in your site. The file should be accessible by adding ads.txt suffix to your domain name like example.com/ads.txt.

Where to Get Content for Ads.txt File?

As you can see in the above screenshot, Google will provide the seller information for AdSense publishers. You can directly download the file when you see the warning in AdSense account or copy/paste the content in a text file and name it as ads.txt.

Download ads txt File
Download ads txt File

If you are using other programs like AdThrive, BuySellAds, Mediavine, etc, you need to get the seller details from them.

How to Upload Ads.txt File in Weebly?

As mentioned, the file should be accessible at the root of your website which is not possible with Weebly. Though you can upload files from Weebly Code Editor, the file will not be placed in the root of your site. This means Google and other advertisers can’t verify your file. Fortunately, Weebly has a simple solution for adding ads.txt file.

  • Login to your Weebly account.
  • Select the site in which you want to show advertisements and upload ads.txt file.
  • When you are in Weebly editor, go to “Settings > General” section.
  • Scroll down and find “Authorize AdSense” section.
  • Paste your ads.txt file content in the text box and save your changes.
  • Make sure to click “Publish” button so that the changes will be effective on live site.
Authorize AdSense in Weebly Site
Authorize AdSense in Weebly Site

Verifying Ads.txt File in Weebly?

After publishing, you can verify the file is upload in your site using by opening the following URL in the browser’s address bar. Make sure to change the domain yoursite.com to your own domain.

https://yoursite.com/ads.txt

It should look something like below:

Ads Txt File Uploaded in Weebly Site
Ads Txt File Uploaded in Weebly Site

It may take couple of days for Google to crawl your site and remove any warning showing in your AdSense account. For other advertising programs, you can insert the ad code to check advertisements are showing in your content and start making money.

1 thought on “How to Upload ads.txt File in Weebly?”

  1. hi… thank you for your advice on uploading the Ads.txt File to my Weebly site.

    I am using Unity ads, and is asking for a text file named ‘app-ads.txt’ at the root of my developer site. I can’t find a way for Unity to ask for a file named ‘ads.txt’.

    i wonder if you know a way to change the way Weebly names this file so that UnityAds can find it?

    Thanks again,
    Adam:)

Leave a Comment

Your email address will not be published. Required fields are marked *