Senin, 14 Juli 2008

How to Display More Targeted AdSense Ads on Your Blog

In the past, your typical blogger would be content enough just having their own blog. But now, bloggers in general are becoming more knowledgeable with ways to monetize their blog and with the availability of free information on the web, they do a decent job.

For example, how many blogs do you read these days that actually don’t have some sort of advertising on it? Not many and for good reason. Why not try and make some money since you spend all this time writing and blogging, right?

Secondly, how many blogs have you come across where the AdSense advertisement is not at all relevant to the blog’s theme or content? Some of them are actually pretty funny if you read the ads. Here’s an ad that actually showed up on eBlog Templates next to one of the template pages.

funny-adsense-ad.png

Can anyone tell my who would be interested in buying “Birds Trees” (what are birds trees anyhow??) from a site that provides templates and other resources for bloggers? Now, if the template page this ad was on was related to nature or birds, then that would be fine. That wasn’t the case though for this page.

Showing irrelevant ads on blogs (especially newer blogs) these days is a pretty common occurrence. New blogs don’t have much (if any) content since their new, so Google isn’t sure what your blog is about. Since eBlog Templates is only a few months old, it’s one of the reasons you’ll see irrelevant ads showing up. After several months and a lot of blog posts later, Google should get a better feel for what your blog is all about and display more targeted ads.

But why not give Google AdSense some guidance now as to what parts of your page it should create these targeted ads from? Well, now you can with Google’s Section Targeting feature.

Google’s Section Targeting allows you to suggest sections of your blog posts and HTML content that you’d like them to emphasize or downplay when matching ads to your site’s content. By providing Google with your suggestions, you can help them improve your blog’s ad targeting.
How Does Section Targeting Work?

It’s actually quite easy and to implement Section Targeting, you’ll need to add a set of special HTML comment tags to your blog template code. These tags will mark the beginning and end of whichever section(s) you’d like to emphasize or de-emphasize for ad targeting.

The HTML tags to emphasize a page section take the following format:





You can also designate sections you’d like to have ignored like your navigation, sidebar, or anything that’s not worth targeting by adding a (weight=ignore) to the starting tag:





Once you add these tags to your WordPress or Blogger template code, you won’t immediately notice a change. There’s actually nothing visual to see as well so don’t expect anything to show up. If you view your blog’s source code from your browser, you’ll see these new tags, however.
How Many Section Targeting Tags Can I Use?

You can use as many Section Targeting tags on a page as you like. However, just because you use several Section Targeting tags doesn’t guarantee you’ll get results. I’d recommend only using one or two on each page otherwise Google might just ignore them.
How Long Before Google Recognizes the Tags?

It can take at least 2 weeks before Google crawlers figure out the changes you’ve made and update your AdSense account. Some sites might not even notice a difference because the ads were already pretty well targeted in the first place.
Setting Up Section Targeting For Blogger

If you’re familiar with editing Blogger templates then this will be a breeze for you. If not, it’s still rather easy to setup since you’re only dealing with two new lines of code. Before anything, make a backup copy of your current template just in case you mess something up. Next, you’ll want to open your template code in something like notepad or any text editor. You can even edit it right in the Blogger html window but it’s small and harder to search for things.

Now you want to search your template for the tag. There should only be one in your entire template. This tag is very important as it prints out your blog posts. It’s the meat of your template code and without it, your blog wouldn’t really work. Next you’ll want to surround this tag with the Google AdSense code. Essentially, we’re telling AdSense whatever text is in your Blogger posts is what it should display relevant ads for.

Here’s what your updated code should look like:





Some people also want to setup Section Targeting for their blog post titles which is fine as well. You basically do the same steps shown here but for the tags. There are usually at least two so make sure you wrap them all if you decide to make this change.

Save your template code and load it back into Blogger. Look at your blog and view the page source. You should now see these Google AdSense tags in your code!
Setting Up Section Targeting For WordPress

For WordPress users, you follow the same steps as above but you’ll want to edit the single.php or index.php page. You’re looking for the tag which is equivalent to the tag for Blogger. Wrap the Google AdSense tags around the content tag and that’s it.

Here’s what your updated code should look like:





Now another trick I do is also wrap my comments with the Google AdSense tags as well. Blog comments are a great way to build up additional relevant content to an existing post. Most of the time your comments are very relevant to your post so why not give AdSense more text to use for ad matching? This works especially well if your blog post is short and you’ve got a lot of comments.

To make this change you’ll want to edit your comments.php file and look for the tag. The modified code should look like this:




Extra Tip - Ignore Sections of Your Blog

For any type of blog you can also use the ignore AdSense tag. This is great for sections that are static or don’t really tell Google much about what your blog is about. Like I mentioned briefly above, this would be things like your top navigation, sidebar, or some other advertisements you may be running on your site which are not relative to your blog’s theme and content.




Important Note

In order to properly implement Section Targeting, you’ll need to include a significant amount of content within the section targeting tags. This means make sure your blog posts are a pretty good length otherwise insufficient content may result in less relevant ads or public service ads and it’s not worth adding these tags. It is also against Google’s AdSense policy to manipulate the ad targeting code to result in ads that are not relevant to the content of your pages. Don’t do it otherwise you risk getting banned from AdSense.

Tidak ada komentar: