Tips, Tricks & Best Practices

MK39
Participant

Ads.txt

SOLVE

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!

0 Upvotes
1 Accepted solution
RSchweighart
Solution
Top Contributor | Gold Partner
Top Contributor | Gold Partner

Ads.txt

SOLVE

This article is from late 2020 but might still be applicable: https://www.plothost.com/kb/site-redirect-directadmin/

 

When setting up the redirect, I'd mimic the settings from the community article.

View solution in original post

0 Upvotes
6 Replies 6
RSchweighart
Top Contributor | Gold Partner
Top Contributor | Gold Partner

Ads.txt

SOLVE

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

 

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: 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, 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

I help businesses with HubSpot and Zapier. 

 

0 Upvotes
MK39
Participant

Ads.txt

SOLVE

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 for reference, and i need the /hubfs/ part out. Thanks!

0 Upvotes
RSchweighart
Top Contributor | Gold Partner
Top Contributor | Gold Partner

Ads.txt

SOLVE

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.

0 Upvotes
MK39
Participant

Ads.txt

SOLVE

Hmm intresting, i'm using DirectAdmin as host.

0 Upvotes
RSchweighart
Solution
Top Contributor | Gold Partner
Top Contributor | Gold Partner

Ads.txt

SOLVE

This article is from late 2020 but might still be applicable: https://www.plothost.com/kb/site-redirect-directadmin/

 

When setting up the redirect, I'd mimic the settings from the community article.

0 Upvotes
PamCotton
Community Manager
Community Manager

Ads.txt

SOLVE

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. 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  our top experts, do you have any recommendations for @MK39?

 

Thank you,

Pam

 

 

 

Você sabia que a Comunidade está disponível em outros idiomas?
Participe de conversas regionais, alterando suas configurações de idioma !


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !




0 Upvotes