I'm sure its happened to all of us at one time or another. You're checking out your blog, reviewing comments or editing an article. Then you see it...the Google ad that is sticking out like the drunk guy with the tie around his head at your sister's wedding. Not that you have anything against the lifestyle of course, but let's be honest...it can be a little embarrassing when you're blog about cute little puppies starts displaying ads for "Hot Lesbian Lovers".
This happened to me very recently on my entertainment blog, Buzz Pirates. I made a bad joke about Hilary Swank being the object of affection for a certain lifestyle. And wouldn't you know it...the Google AdSense script picked those few words out of the crowd and decided to use that single phrase as the focus of their ads. So I decided to do a little digging to figure if there was a way to block certain words from being used by popular ad services. It turned out to be easier than I thought, but may not be something everyone is aware of. So I hope this little tip will help you to ensure that ads displayed on your blog remain relevant to your actual content.
The two primary ad services I use on BuzzMyBlog.com are Google AdSense and Kontera ads. It turns out that both of them have simple tags that you can place around words that you don't want to be used for generating contextual ads.
Google AdSense
In order to block certain phrases from being considered for AdSense ad generation, simply enclose the undesired text between HTML comments labeled "google_ad_section_start(weight=ignore)" and "google_ad_section_end". Like so...
<!-- google_ad_section_start(weight=ignore) -->
Every lesbians fantasy, Hilary Swank
<!-- google_ad_section_end -->
Kontera ContentLink
Kontera has a similar approach for filtering unwanted phrases from being labeled with their in-text ContentLink advertising. Simply enclose the text with <span></span> tags that have the attribute "name='KonaFilter'", like so...
<span name="KonaFilter">
Every lesbians fantasy, Hilary Swank
</span> >
Using these simple tips, you can ensure the advertising on your page remains relevant to the topic of your niche. I will be sure to update this post with any tips for other ad services as I learn them. Let me know if you have any requests or questions by leaving a comment.
Jeff