# Ads.txt

**URL:** <https://community.hubspot.com/t/ads-txt/102737>\
**Category:** Tips, Tricks & Best Practices\
**Tags:** free\
**Created:** [March 15, 2024, 11:53pm UTC](https://community.hubspot.com/t/ads-txt/102737 "2024-03-15T23:53:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MK39](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mk39/32/201790_2.png) [@MK39](https://community.hubspot.com/u/MK39)\
**Post date:** [March 15, 2024, 11:53pm UTC](https://community.hubspot.com/t/ads-txt/102737/1 "2024-03-15T23:53:31Z")

</div>

Hello, I’ve created an ads.txt file for google adsense but it is not being seen by adsence. I’ve seen other advice to redirect URL but it does not appear i have that option (possibly because i have the free version currently). Is anyone able to provides some advice on where the ads.txt text should be placed? Thank you!

---

<div class="post-metadata">

**Author:** ![PamCotton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pamcotton/32/47916_2.png) [@PamCotton](https://community.hubspot.com/u/PamCotton)\
**Post date:** [March 18, 2024, 10:12pm UTC](https://community.hubspot.com/t/ads-txt/102737/2 "2024-03-18T22:12:57Z")

</div>

Hey @MK39, thank you for posting in our Community!

Please, make sure your ads.txt file is placed in the root directory of your website. This means it should be accessible at [http://yourdomain.com/ads.txt](http://yourdomain.com/ads.txt). Also, ensure that your ads.txt file is publicly accessible and not blocked by any security measures or robots.txt directives.

**@RSchweighart @JustinPerkinsC [@Jonas\_De\_Mets](https://community.hubspot.com/t5/user/viewprofilepage/user-id/654259)** our top experts, do you have any recommendations for @MK39?

Thank you,

Pam

---

<div class="post-metadata">

**Author:** ![RSchweighart](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rschweighart/32/28924_2.png) [@RSchweighart](https://community.hubspot.com/u/RSchweighart)\
**Post date:** [March 18, 2024, 11:26pm UTC](https://community.hubspot.com/t/ads-txt/102737/3 "2024-03-18T23:26:14Z")

</div>

Hi @MK39,

Try navigating to the file in the files seciton of HubSpot. Click on the ads.txt file, then you’ll see a panel slide in on the right. From there, select the File URL by domain dropdown.

 ![RSchweighart_0-1710803857010.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/0/1/014d6d4da755a4de53b554359a6cde5904a2b79f.png)

Toggle to your domain instead of the hubspotusercontent one.

Maybe this will work? I haven’t done this before, so I welcome other people with experience to chime in.

Here’s the help article I grabbed the screenshot from: [Manage the URL of files uploaded to the files tool](https://knowledge.hubspot.com/files/copy-and-update-the-url-of-files-uploaded-to-the-file-manager)

The link with your domain is the same that’s being redirected to in [this community article](https://community.hubspot.com/t5/CMS-Development/Inserting-ads-txt-file-for-Google-AdSense/m-p/363679), so I’m hoping that will be the solution. You can test it by opening in a new window and verifying the URL is the same as the redirect in the community article.

Note, you’ll need to give it time for Google AdSense to detect the file (up to a few hours to a few days). Also, ensure the file contains the correct information required by Google AdSense.

Best,

_ **Ryan Schweighart** _

Whole Hart Impact, LLC

[whimpact.co](http://www.whimpact.co)

_I help businesses with HubSpot and Zapier._

---

<div class="post-metadata">

**Author:** ![MK39](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mk39/32/201790_2.png) [@MK39](https://community.hubspot.com/u/MK39)\
**Post date:** [March 18, 2024, 11:47pm UTC](https://community.hubspot.com/t/ads-txt/102737/4 "2024-03-18T23:47:20Z")

</div>

Thank you, this was very helpful. The only issue i have after following these steps is the link now has /hubfs/ in the URL. Any way to get rid of that? I’ve heard of the link redirect method but i don’t believe thats an option in the free version. The link is [https://northofnormalknots.com/hubfs/ads.txt](https://northofnormalknots.com/hubfs/ads.txt)for reference, and i need the /hubfs/ part out. Thanks!

---

<div class="post-metadata">

**Author:** ![RSchweighart](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rschweighart/32/28924_2.png) [@RSchweighart](https://community.hubspot.com/u/RSchweighart)\
**Post date:** [March 18, 2024, 11:57pm UTC](https://community.hubspot.com/t/ads-txt/102737/5 "2024-03-18T23:57:47Z")

</div>

You’re welcome and good call. I misread the redirect. I’m not sure it’s possible to remove /hubfs. What company is hosting your domain? Maybe we could set up a redirect in your hosting account such as Godaddy, Namecheap, etc.

---

<div class="post-metadata">

**Author:** ![MK39](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mk39/32/201790_2.png) [@MK39](https://community.hubspot.com/u/MK39)\
**Post date:** [March 19, 2024, 12:01am UTC](https://community.hubspot.com/t/ads-txt/102737/6 "2024-03-19T00:01:16Z")

</div>

Hmm intresting, i’m using DirectAdmin as host.

---

<div class="post-metadata">

**Author:** ![RSchweighart](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rschweighart/32/28924_2.png) [@RSchweighart](https://community.hubspot.com/u/RSchweighart)\
**Post date:** [March 19, 2024, 12:06am UTC](https://community.hubspot.com/t/ads-txt/102737/7 "2024-03-19T00:06:05Z")

</div>

This article is from late 2020 but might still be applicable: [Add a site redirect in DirectAdmin - PlotHost](https://www.plothost.com/kb/site-redirect-directadmin/)

When setting up the redirect, I’d mimic the settings from the [community article](https://community.hubspot.com/t5/CMS-Development/Inserting-ads-txt-file-for-Google-AdSense/m-p/363679).
