AdSense section targeting for vBulletin

Posted on Mar 26, 2009 in AdsenseAdvertising
Another vBulletin tutorial, this time to explain how you can add section targeting to your vBulletin forums. Jmw asked for help on our forums and so here is the tutorial.

Why use section targeting?

Advertising is all about content relevancy. If your ads aren’t relevant then you won’t get any clicks plus low CPC. That’s why AdSense is so successful, they have relevant ads, something only a few other advertising networks have. Same applies to your vBulletin forum of course. VBulletin has a lot of static texts which you want to ignore to make sure that the AdSense crawler only uses your good content which is relevant. Furthermore you can tell the AdSense crawler to use your posts, or the title, as that’s your good content. You can’t completely control the crawler, but you can influence it. Make sure to use section targeting.

How to implement section targeting

It’s pretty easy, you only have to use 3 tags and wrap them around your content or to be ignored content.
  • <!– google_ad_section_start –> – Tell the AdSense crawler that the content below should be used for applying section targeting.
  • <!– google_ad_section_end –> – Tell the AdSense crawler that the content-zone ends.
  • <!– google_ad_section_start(weight=ignore) –> – Tell the crawler to ignore the content below. Close tag with the end tag above.
So an example for content you want to use for generating the ads would be the following:<!– google_ad_section_start –>Good content<!– google_ad_section_end –>Or an example for bad content which you want to exclude (static stuff):<!– google_ad_section_start(weight=ignore) –>Bad content<!– google_ad_section_end –>To read more about section targeting please see this link.

Section targeting for vBulletin

I added an <h1> tag which consists of the title which I then used for section targeting. That’s because the title usually contains what the thread is about. The <h1> tag is also pretty good for on-page SEO, so another reason to use it. The code for doing so is: <h1>$navbits[lastelement]</h1>. Paste that at the bottom of your navbar. But now let’s get to the actual video:Hope you enjoyed watching the video and that I was able to help you a little. If you still have questions please just drop a comment or open a post in <a href=””>our forum</a>.