AdSense is the best ad network for bloggers, and I have already shared a guide on How to create an AdSense account. For existing users, adding AdSense code in a blog is not a task, but if I recall my earlier days, I was not sure how to use AdSense dashboard, and how to add it on my blog. When it comes to WordPress, there are many plugins like Whytodowork AdSense, Quick AdSense, which will let you quickly integrate ads at your desire position. To be honest, I find plugins are easier to do things on WordPress over manual Work. Until, unless you know PHP, and understand WordPress theme structure.
In this article, I will be sharing how y0u can use WordPress widgets to add AdSense code in your WordPress blog. Do remember, this will work on your widgetized part of blog, and to add Ads at other places like after post title, or more tags, you need to edit the theme file or use an AdSense plugin.
How to Add AdSense in your Blog:
This article is for those who wants to show their advertisement on the sidebar of your blog.
First of all login to your adsense account and create a channel and copy the ad ad unit you want to show.
Your code will be something like this
google_ad_client = “pub-xxxxxxxxxxxxxxxx”;
/* 300×250, created 1/26/07 */
google_ad_slot = “2012343546″;
google_ad_width = 300;
google_ad_height = 250;
Once you have your adsense code,
Select the sidebar you want to use (depends on your wordpress theme)
Select Text widget and edit it and paste the Adsense code.
With simple two minute of work you can add Google Adsense to your WordPress blog.
Do read the previous post on How not to avoid Google AdSense terms and conditions
Alternatively if you want to advertisement above or below your post, you need to edit your single.php file in theme editor.
You should also check out shoutmeloud previous post on how you can use Flickr to drive traffic to your blog.and