{"id":370,"date":"2025-03-13T21:30:46","date_gmt":"2025-03-13T21:30:46","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2025\/03\/13\/10771490-hostinger-horizons-google-adsense-integration\/"},"modified":"2026-05-08T12:59:31","modified_gmt":"2026-05-08T12:59:31","slug":"10771490-hostinger-horizons-google-adsense-integration","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/10771490-hostinger-horizons-google-adsense-integration\/","title":{"rendered":"Hostinger Horizons: Google AdSense Integration"},"content":{"rendered":"<p class=\"no-margin\">To connect to AdSense, first you need to verify the domain ownership. There are multiple ways how to verify web app ownership when connecting to AdSense, as below:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2025\/03\/53afd8e6-4e32-4595-95ae-0e6a28647d8a.jpg\" data-media-id=\"1947\" alt=\"AdSense verification methods: code snippet, ads.txt, and meta tag options\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">The easiest one would be to <b>add the code snippet provided from AdSense directly to your WebApp<\/b>. You can write the prompt such as:<\/p><ul>\n<li>\n<p class=\"no-margin\">Add this code snipped to all pages between the <code>&lt;head&gt;<\/code> and <code>&lt;\/head&gt;<\/code> tags<\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">Instead of <i>all pages,<\/i> you can write the pages where you would like to add it as well. Result example below:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2025\/03\/e4a74277-4d1d-4432-8588-01cb502a1d6a.jpg\" data-media-id=\"1948\" alt=\"Hostinger Horizons chat showing Google AdSense code snippet inserted into the HTML head\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">And you should be good to go!<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2025\/03\/9c1e0cb6-a47c-4350-a8e6-bf7c467b7d99.jpg\" data-media-id=\"1950\" alt=\"Hostinger Horizons AdSense pop-up confirming site is verified with Next button\"><\/div><p class=\"no-margin\">\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to integrate your web application to your Horizons project<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[293],"tags":[],"class_list":["post-370","post","type-post","status-publish","format-standard","hentry","category-hostinger-horizons"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/10771490-hostinger-horizons-google-adsense-integration\/","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=370"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/370\/revisions"}],"predecessor-version":[{"id":1953,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/370\/revisions\/1953"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}