One of the hardest things, when implementing Google Adsense, is to make sure the ads are relevant to the context of the page/post. This can sometimes be very hard especially if you have a lot of scripts/widgets that can throw off the adsense. Here is the way you block out certain content on your website so that adsense doesn’t use it for its context.
First highlight the areas that you want to focus the context on by enclosing it in the following tags:
<!– google_ad_section_start –>
<!– google_ad_section_end –>
This will tell the adsense code what to scan. If you are using a blog you can automate this by enclosing the post content in the template of your blog.
The next step is to ignore the other parts of your blog that can cause you to get the generic “wanna earn money with your blog” ads.
To do this you would enclose the rest of the pages with the following tags:
<!– google_ad_section_start(weight=ignore) –>
<!– google_ad_section_end –>
This will help improve the contextual relevance of your ads.