by Roger Chartier:
If you use Google Adsense as you can see that I do on this and many other web pages, you may find that you have some pages with ads that are contextually irrelevant.
They have nothing to do with the actual focus subject of the page. In that case, you can use this handy dandy bit of code.
Add this bit in the body before a section of text that you think is important to focus on as far as attracting ads that will be interesting to your readers.
<!-- google_ad_section_start -->
The part of text in between the above code and the code just below this is the focus area.
<!-- google_ad_section_end -->
Use this to define areas of attention either for the crawlers to target or ignore.
Here is the code to define how to ignore a section that is irrelevant:
<!-- google_ad_section_start(weight=ignore) -->
Text to ignore.<!-- google_ad_section_end -->
Google says that it can take up to 2 weeks before you might see results of this action.
Remember that Google program policies are such that you can't try to manipulate ad targeting to get results that are not relevant to the content of your pages.
I have some web sites such as www.sailorsongs.com/lyrics.html and http://www.ourwholeworld.com/irish_lyrics_and_chords.html that have pages of sea shanty lyrics and old folk music lyrics.
The lyrics are not the focus of the page, the idea that they are sea shanties and folk music is.
I am just beginning to use this code on the pages of the sites above and after a couple of days I saw a good change in the resulting ads on the first test page.
Here is the code in that page that I can point out as an example
Right click on the page and select "View Page Source" so that you can see the source code and you can find where I targeted text that was "explanation" rather than the irrelevant song lyric content.