How to use Adsense Section Targeting on Blogger Blogs ?

What is section targeting? Here is the official information on Adsense Help Center:

Section targeting allows you to suggest sections of your text and HTML content that you'd like Adsense to emphasize or downplay when matching ads to your site's content.

To implement section targeting, you'll need to add a set of special HTML comment tags to your 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 -->
Page Content
<!-- google_ad_section_end -->


Now, how can you implement Adsense Section Targeting on New Blogger? I suggest you to use above the code before and after post titles and post content to get relevant ads. You should add the codes above before and after Post Title and Post Content tags.

Post Title <b:includable id='post' var='post'> <div class='post uncustomized-post-template'> <a expr:name='data:post.id'/> <b:if cond='data:post.title'> <h3 class='post-title'> <b:if cond='data:post.link'> <a expr:href='data:post.link'><!-- google_ad_section_start --><data:post.title/><!-- google_ad_section_end --></a> <b:else/> <b:if cond='data:post.url'> <a expr:href='data:post.url'><!-- google_ad_section_start --><data:post.title/><!-- google_ad_section_end --></a> <b:else/> <!-- google_ad_section_start --><data:post.title/><!-- google_ad_section_end --> </b:if> </b:if> </h3> </b:if> Post Content <div class='post-body'> <p><!-- google_ad_section_start --><data:post.body/><!-- google_ad_section_end --></p> <div style='clear: both;'/> <!-- clear for photos floats --> </div>
Technology Updates On Mail

YOU MAY LIKE THESE ALSO :

Posted by Raj on 1:30 PM. Filed under , . You can follow any responses to this entry through the RSS 2.0
Are you new here on RajTalk ? Subscribe for free!
Welcome! If you like what you see, why not subscribe to my RSS feed and always receive up-to-date information about latest and new articles on this topic. If you're not into RSS feeds, you can use e-mail instead:
Google Feedburner will notify you when new articles are posted (max once a day). They will never spam and you can unsubscribe any time you want.
Thanks for visiting!

Follow by Email

Followers

Recent Post

Popular Posts

Recent Comment

2010 RajTalk. All Rights Reserved. - by HowToRaj