{"id":18377,"date":"2023-08-05T08:31:52","date_gmt":"2023-08-05T08:31:52","guid":{"rendered":"https:\/\/www.searchenginejournal.com\/google-on-blocking-banner-ads-from-getting-indexed-as-main-content\/493271\/"},"modified":"2023-08-05T08:31:52","modified_gmt":"2023-08-05T08:31:52","slug":"google-on-blocking-banner-ads-from-getting-indexed-as-main-content-via-sejournal-martinibuster","status":"publish","type":"post","link":"https:\/\/marketingnewsbox.com\/?p=18377","title":{"rendered":"Google On Blocking Banner Ads From Getting Indexed as Main Content via @sejournal, @martinibuster"},"content":{"rendered":"<div><img decoding=\"async\" src=\"https:\/\/marketingnewsbox.com\/wp-content\/uploads\/2023\/08\/google-on-blocking-banner-ads-from-getting-indexed-as-main-content-via-sejournal-martinibuster.png\" class=\"ff-og-image-inserted\"><\/div>\n<p>Google\u2019s John Mueller answered a question in Reddit about whether Google indexes content placed before the main content as part of the post.<\/p>\n<p>John\u2019s answer addressed part of the question but left the overall question unanswered.<\/p>\n<p>Nevertheless, there is a solution for the person\u2019s question.<\/p>\n<h2>Does GoogleBot \u201cCollect\u201d Content Before the Post?<\/h2>\n<p>The person asking the question in Reddit has a theme that uses a specific kind of code called a hook to insert content like advertising in a specific section of a WordPress post.<\/p>\n<p>A hook is a convenient way for a theme or a plugin to make changes to the webpage structure without having to mess around with the WordPress core code itself.<\/p>\n<p>In this situation, the person asking the question has a theme that uses a hook to add a block of content (like an advertisement) before the main post of the webpage.<\/p>\n<p>Their concern was if Google would see that block of content as a part of the webpage post, the main content.<\/p>\n<p><strong>This is the <a href=\"https:\/\/www.reddit.com\/r\/SEO\/comments\/15gsn4s\/does_google_bot_collect_content_placed_on_the\/\" target=\"_blank\" rel=\"noopener noreferrer\">question<\/a> that was asked:<\/strong><\/p>\n<blockquote>\n<p>\u201cWe\u2019re using a theme called Salient, which has a built-in feature that provides us with some hooks to place content on. We now want to place a big HTML banner on the \u201cbefore post content\u201d hook to advertise our products but what we are concerned about are:<\/p>\n<p>\u2013 Does Google bot treat this banner content as part of the post?<\/p>\n<p>\u2013 Does it see this as duplicate content because it appears on all posts?<\/p>\n<p>\u2013 Does it affect SEO performance?<\/p>\n<p>\u2013 Is there anything I can do to hide it from the Google bot or let it know that it\u2019s just a promo banner, not the post content?\u201d<\/p>\n<\/blockquote>\n<p>Google\u2019s John Mueller<a href=\"https:\/\/www.reddit.com\/r\/SEO\/comments\/15gsn4s\/does_google_bot_collect_content_placed_on_the\/jul7ugv\/\" target=\"_blank\" rel=\"noopener noreferrer\"> answered<\/a>:<\/p>\n<blockquote>\n<p>\u201cYou cannot noindex a part of a page like that.\u201d<\/p>\n<\/blockquote>\n<h2>Cannot Noindex a Page But\u2026<\/h2>\n<p>Mueller\u2019s right, one cannot noindex a section of a page. But\u2026<\/p>\n<p>There are other options available to use to help boost the SEO of the webpage.<\/p>\n<p>The way to do that is to make sure Google knows what part of the page contains the Main Content.<\/p>\n<h2>Semantic HTML Elements Can Help SEO<\/h2>\n<p>Semantic HTML, for this purpose, consists of HTML elements that tell the browser, assistive devices and Google what the different parts of a webpage are.<\/p>\n<p>Google is already pretty good at understanding what the different sections of a webpage are.<\/p>\n<p><strong>Google generally sees the webpage in terms of:<\/strong><\/p>\n<p>For content indexing purposes, everything that is not in the Main Content area can be more or less ignored.<\/p>\n<p>The header, navigation, and footers generally have the same content sitewide, they are not main content, and are treated differently by Google (more on&nbsp; this later).<\/p>\n<p>The sidebars may have unique and sitewide content but it\u2019s not the main content.<\/p>\n<h2>Make the Main Content Extra Visible<\/h2>\n<p>What Google is most interested in is the main content.<\/p>\n<p>Making the location of the main content clear for Google is a good SEO practice.<\/p>\n<p>The essence of SEO is to make the message of the webpage as clear as possible to eliminate the possibility of a mistake on Google\u2019s part.<\/p>\n<p>The &lt;MAIN&gt; HTML Element<\/p>\n<p>There is an HTML element called &lt;main&gt; that can be used to mark up a WordPress post that tells Google that the section of content that is enclosed within the &lt;main&gt; element is the Main Content.<\/p>\n<p>A bare-bones outline of a webpage can look like this:<\/p>\n<pre>&lt;!DOCTYPE html&gt;\n&lt;HTML&gt;\n&lt;HEAD&gt;\n&lt;TITLE&gt;An awesome webpage&lt;\/TITLE&gt;\n&lt;\/HEAD&gt;\n&lt;BODY\n<strong><span>&lt;MAIN&gt;<\/span><\/strong> &lt;H1&gt;Hey Google, index my content!&lt;\/H1&gt; &lt;P&gt;Content for indexing.&lt;\/P&gt; &lt;P&gt; More content for indexing!&lt;\/P&gt;\n<strong><span>&lt;\/MAIN&gt;<\/span><\/strong>\n&lt;\/BODY&gt;\n&lt;\/html&gt;<\/pre>\n<p>That section bracketed between the &lt;main&gt; element is where Google will know your Main Content is.<\/p>\n<p>Everything outside of that semantic HTML element will not be considered a part of the main content.<\/p>\n<h2>What If Ad Is Within the Main Content?<\/h2>\n<p>If the theme or plugin injects the advertisement within the main content, like before the content begins but within the &lt;main&gt; element, there is something that can be done for that, too.<\/p>\n<h3>The &lt;ASIDE&gt; HTML Element<\/h3>\n<p>You can use another HTML element called &lt;aside&gt;.<\/p>\n<p>The &lt;aside&gt; element tells Google that all the content enclosed within the &lt;aside&gt;&lt;\/aside&gt; element is not a part of the main content.<\/p>\n<p>The official <a href=\"https:\/\/html.spec.whatwg.org\/multipage\/sections.html#the-aside-element\" target=\"_blank\" rel=\"noopener noreferrer\">HTML specs for the &lt;aside&gt;<\/a> element state that this is what can be used for advertising content:<\/p>\n<blockquote>\n<p>\u201cThe aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography.<\/p>\n<p>The element can be used for typographical effects like pull quotes or sidebars, for advertising, for groups of nav elements, and for other content that is considered separate from the main content of the page.\u201d<\/p>\n<\/blockquote>\n<h2>Circling Back to Answering the Reddit Question:<\/h2>\n<p><strong>Here are the questions with proper and complete answers (by me!):<\/strong><\/p>\n<blockquote>\n<p>\u201cDoes Google bot treat this banner content as part of the post?\u201d<\/p>\n<\/blockquote>\n<p>Google in general can identify what content is advertising and which content is main content.<\/p>\n<p>But don\u2019t leave it to chance, use semantic HTML markup to make it clear for Google.<\/p>\n<blockquote>\n<p>\u201cDoes it see this as duplicate content because it appears on all posts?\u201d<\/p>\n<\/blockquote>\n<p>No. Google sees this as essentially boilerplate, content that is not a part of the main content.<\/p>\n<p>Google\u2019s Martin Splitt addressed that in a Search Engine Journal webinar, <a href=\"https:\/\/www.searchenginejournal.com\/centerpiece-annotation\/424152\/\" target=\"_blank\" rel=\"noopener noreferrer\">which was summarized here<\/a>.<\/p>\n<p><strong>Martin said:<\/strong><\/p>\n<blockquote>\n<p>\u201cThis looks pretty much like that menu that we have on all the other pages of this domain,\u201d for instance, or we\u2019ve seen this before. We don\u2019t even actually go by domain or like, \u201cOh, this looks like a menu.\u201d<\/p>\n<p>We figure out what looks like boilerplate and then, that gets weighted differently as well.\u201d<\/p>\n<p>\u201cDoes it affect SEO performance?\u201d<\/p>\n<\/blockquote>\n<p>If Google can\u2019t tell the difference between the ads and the main content, then maybe there\u2019s something wrong with the code.<\/p>\n<p>For example, if HTML elements that properly belong in the &lt;body&gt; section are found in the &lt;head&gt; section, like &lt;img&gt;, &lt;div&gt; or &lt;p&gt;, then Googlebot might start indexing the head content as if it was in the &lt;body&gt;.<\/p>\n<p>In general, <em>Google\u2019s pretty good about identifying where the main content is.<\/em><\/p>\n<p>However, it\u2019s an SEO best practice to make the page structure exceedingly clear for Google.<\/p>\n<blockquote>\n<p>\u201cIs there anything I can do to hide it from the Google bot or let it know that it\u2019s just a promo banner, not the post content?\u201d<\/p>\n<\/blockquote>\n<p>You shouldn\u2019t try to hide the advertising. You could probably do it but the extra code necessary just to do that would probably end up slowing the webpage down.<\/p>\n<p>But you <em>can<\/em> tell Googlebot that it\u2019s an advertisement by using the &lt;aside&gt; element.<\/p>\n<p><strong>Read the Reddit thread here:<\/strong><\/p>\n<p><a href=\"https:\/\/www.reddit.com\/r\/SEO\/comments\/15gsn4s\/comment\/jul7ugv\/\" target=\"_blank\" rel=\"noopener noreferrer\">Does Google bot collect content placed on the \u201cbefore post content\u201d hook as part of the post?<\/a><\/p>\n<p><em>Featured image by Shutterstock\/ViDI Studio<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google\u2019s John Mueller answered a question in Reddit about whether Google indexes content placed before the main content as part of the post. John\u2019s answer addressed part of the question but left the overall question unanswered. Nevertheless, there is a solution for the person\u2019s question. Does GoogleBot \u201cCollect\u201d Content Before the Post? The person asking&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[292,103,10],"tags":[],"class_list":["post-18377","post","type-post","status-publish","format-standard","hentry","category-news","category-search-engine-marketing","category-seo"],"_links":{"self":[{"href":"https:\/\/marketingnewsbox.com\/index.php?rest_route=\/wp\/v2\/posts\/18377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marketingnewsbox.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/marketingnewsbox.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/marketingnewsbox.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/marketingnewsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18377"}],"version-history":[{"count":0,"href":"https:\/\/marketingnewsbox.com\/index.php?rest_route=\/wp\/v2\/posts\/18377\/revisions"}],"wp:attachment":[{"href":"https:\/\/marketingnewsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/marketingnewsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/marketingnewsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}