I placed the Adsense code in the meta description of each page. And it seemed that it worked, because Google said to me that they could verify my website (and it failed, but it was for the content).
Is this what you tried? Settings - > Website -> Pages -> Templates Tab Usually you just put the code in the head HTML section, hit save and then the code will be on every page of your site
You may need to make sure the HTML isn't being overridden with any domain specific settings (choose your domain from the dropdown at the top to check)
Matthew Scott Head of Development | Hubspot Solutions Architect
B2B marketing agency: Specialist B2B content marketing and demand generation for SaaS vendors and HubSpot Users | Deeply Digital | HubSpot Partner since 2010
Not exactly in the head of HTML of each page (I only see this section in the main page), but it seems to work if I place the Adsense code in the meta description of each page.
@JGutiérrezGil I placed in the head html to get my website verified, because it said "To get your site ready to show ads, copy and paste this code between the <head></head> tags on each page of your site"
I did that for a few pages and for my blog as well and it got verified. Still struggling with finding a way to get that ads.txt file uploaded though.
But I wouldn't place your Adsense code in the meta description, because that description will be shown in the search results.
I could only place the html code in the main page, and it seems it's not enough for Google. That's why I tried placing the meta Adsense code in every page...
I'll review the search results of my web site. I didn't know it.
That is where I'm stuck because it doesn't seem possible for a free HubSpot account. I've done this in the past for my Wordpress website and that website got verified and has ads running on it. If you find a solution for the ads.txt file, do let me know!