09-09-2005

NonMatching AdSense Ads

If you have adsense on your site and the ads don’t match the theme/content of your site, there is a little trick you can do to help make the ads match your content.

You simply place the following before your main content area…

<!-- google_ad_section_start -->

Then place the following after it.

<!-- google_ad_section_end -->

You will want to place the majority of the text that has keywords between the two tags.

This is documented in the AdSense Support site HERE.

Now for a neat trick that you should use at your own risk…

You could place the following in your pages to get alot of text without the visitor seeing it.

<!-- google_ad_section_start -->
<div STYLE="position:absolute;left:0px;top:0px;
width:100%;display:none;z-index:1">keywords go here</div>
<!-- google_ad_section_end -->

The second code will give you more keywords for the robots and AdSense bots but people wont see it.

Remember, use the second code at your own risk!

Take Care.

Garrie Wilson

Posted by Garrie in Tutorials

2 Responses to “NonMatching AdSense Ads”
  1. Dean Brenner Says:

    You make the comment that the second code is used at your own risk. Is this banned code at Google. Could you elaborate as to why this is “at your own risk”

  2. Administrator Says:

    The code actually breaks the terms of service for the Google search engine AND if you use keywords that do not match the site content, it breaks the TOS for AdSense. It could also break the TOS for AdSense even if you use keywords that match the content.

Leave a Reply

You must be logged in to post a comment.