How To use Google’s Section Targeting for Google Adsense Ads




Showing irrelevant ads instead of getting more targeted google adsense ads on blogs (especially newer blogs) these days is a pretty common occurrence. New blogs don’t have much (if any) content since their new, so Google isn’t sure what your blog is about. Since Blogger Source is only a few months old, it’s one of the reasons you’ll see irrelevant ads showing up. After several months and a lot of blog posts later, Google should get a better feel for what your blog is all about and display more targeted ads.

But why not give Google AdSense some guidance now as to what parts of your page it should create these targeted ads from? Well, now you can with Google’s Section Targeting feature.

Google’s Section Targeting allows you to suggest sections of your blog posts and HTML content that you’d like them to emphasize or downplay when matching ads to your site’s content. By providing Google with your suggestions, you can help them improve your blog’s ad targeting.

How Does Google’s Section Targeting Work?

It’s actually quite easy and to implement Google ads Section Targeting, you’ll need to add a set of special HTML comment tags to your blog template code. These tags will mark the beginning and end of whichever section(s) you’d like to emphasize or de-emphasize for ad targeting.

The HTML tags to emphasize a page section take the following format:

<!-- google_ad_section_start -->

<!-- google_ad_section_end -->

You can also designate sections you’d like to have ignored like your navigation, sidebar, or anything that’s not worth targeting by adding a (weight=ignore) to the starting tag:

<!-- google_ad_section_start(weight=ignore) -->

<!-- google_ad_section_end -->

Once you add these tags to your WordPress or Blogger template code, you won’t immediately notice a change. There’s actually nothing visual to see as well so don’t expect anything to show up. If you view your blog’s source code from your browser, you’ll see these new tags, however.

How Many Google’s Section Targeting Tags Can I Use?

You can use as many Section Targeting tags on a page as you like. However, just because you use several Section Targeting tags doesn’t guarantee you’ll get results. I’d recommend only using one or two on each page otherwise Google might just ignore them.

How Long Before Google Recognizes the Tags?

It can take at least 2 weeks before Google crawlers figure out the changes you’ve made and update your AdSense account. Some sites might not even notice a difference because the ads were already pretty well targeted in the first place.

Setting Up Google’s Section Targeting For Blogger

If you’re familiar with editing Blogger templates then this will be a breeze for you. If not, it’s still rather easy to setup since you’re only dealing with two new lines of code. Before anything, make a backup copy of your current template just in case you mess something up. Next, you’ll want to open your template code in something like notepad or any text editor. You can even edit it right in the Blogger html window but it’s small and harder to search for things.

Now you want to search your template for the <data:post.body/> tag. There should only be one in your entire template. This tag is very important as it prints out your blog posts. It’s the meat of your template code and without it, your blog wouldn’t really work. Next you’ll want to surround this tag with the Google AdSense code. Essentially, we’re telling AdSense whatever text is in your Blogger posts is what it should display relevant ads for.

Here’s what your updated code should look like:

<!-- google_ad_section_start -->
<data:post.body/>
<!-- google_ad_section_end -->

Some people also want to setup Section Targeting for their blog post titles which is fine as well. You basically do the same steps shown here but for the <data:post.title/> tags. There are usually at least two so make sure you wrap them all if you decide to make this change.

Save your template code and load it back into Blogger. Look at your blog and view the page source. You should now see these Google AdSense tags in your code!

Setting Up Google’s Section Targeting For WordPress

For WordPress users, you follow the same steps as above but you’ll want to edit the single.php or index.php page. You’re looking for the <?php the_content();?> tag which is equivalent to the <data:post.body/> tag for Blogger. Wrap the Google AdSense tags around the content tag and that’s it.

Here’s what your updated code should look like:

<!-- google_ad_section_start -->
<?php the_content();?>
<!-- google_ad_section_end -->

Now another trick I do is also wrap my comments with the Google AdSense tags as well. Blog comments are a great way to build up additional relevant content to an existing post. Most of the time your comments are very relevant to your post so why not give AdSense more text to use for ad matching? This works especially well if your blog post is short and you’ve got a lot of comments.

To make this change you’ll want to edit your comments.php file and look for the <?php comment_text()?> tag. The modified code should look like this:

<!-- google_ad_section_start -->
<?php comment_text()?>
<!-- google_ad_section_end -->

Extra Tip - Ignore Sections of Your Blog

For any type of blog you can also use the ignore AdSense tag. This is great for sections that are static or don’t really tell Google much about what your blog is about. Like I mentioned briefly above, this would be things like your top navigation, sidebar, or some other advertisements you may be running on your site which are not relative to your blog’s theme and content.

<!-- google_ad_section_start(weight=ignore) -->

<!-- google_ad_section_end -->

Important Note

In order to properly implement Google’s Section Targeting, you’ll need to include a significant amount of content within the section targeting tags. This means make sure your blog posts are a pretty good length otherwise insufficient content may result in less relevant ads or public service ads and it’s not worth adding these tags. It is also against Google’s AdSense policy to manipulate the ad targeting code to result in ads that are not relevant to the content of your pages. Don’t do it otherwise you risk getting banned from AdSense.

Conclusion

After you’ve made all these changes, you should start seeing improved targeted AdSense ads on your blog. It might take a few weeks before Google updates their system so be patient. Your AdSense earnings should also go up since more relative ads means you have a better chance of visitors clicking on them. Here’s to making more money from your blog! If you don’t already have an AdSense account, you can sign up for one for free.

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

I see, thanks for the tips.!!!

[Reply]

Leave a comment

(required)

(required)