The Google AdSense program allows you to earn advertising revenue by adding Google-sponsored advertisements to your website. Google AdSense determines the advertisements to be displayed based on the content of your website. However, sometimes these advertisements are incorrectly chosen, because other text on the page skews Google's determination of relevancy. To counter this, you can add HTML code to emphasize sections of your Web page for Google to use in determining advertisements displayed. Likewise, you can mark off sections to be ignored.
Open your Web page in a basic text editor, such as Notepad.
Locate a section of your page you want to emphasize. As an example, if you have several paragraphs describing a particular product or service, you may want AdSense to look heavily at that text to bring up advertisements where they may purchase such products or services. Avoid small, one-sentence sections, which do not give Google adequate information. Google recommends including "a significant amount of content within the section."
Type the code "<!-- google_ad_section_start -->" just before the section.
Type the code "<!-- google_ad_section_end -->" just after the section.
Repeat for any other section you would like Google AdSense to emphasize.
Save your changes and upload the updated page. Allow up to two weeks for Google to recognize the changes.
Open the Web page in a basic text editor, and locate a section that should not be considered by Google AdSense. As an example, you may have a generic disclaimer on a page, which is unrelated to the content itself.
Type "<!-- google_ad_section_start(weight=ignore) -->" before the section.
Type "<!-- google_ad_section_end -->" after the section.
Repeat for any other unrelated sections.
Save your changes and upload the updated page.
- Google AdSense section targeting works on a page-by-page basis, but you can repeat this procedure for each page to target your entire website.
- Comstock/Comstock/Getty Images