In this tutorial you are going to learn how to tweak your WordPress theme and place google Adsense ads or ads from any other network in your WordPress blog.
Best positions to place ads:
If you have a three column template the best positions for Adsense ads would be a 160*600 banner in the sidebar , a 160*90 linked unit above the 160*600 banner and large rectangle or 468* 60 ad unit just after the title of your post and at the end of your post.
If you have a 2 column template the best positions are a square linked unit in the side bar and a large rectangle or 468*60 ad unit just after the title of your post and at the end of your post. If your theme is wide enough to accommodate a 768*90 ad then use it before and after your post.
How to choose the colours of your Google ads:
Try to match the Google ads with the content of your site. Set the title color of your ad as the title colour, text colour as the color of your content and link color as the links in your content. Have the background and border same as your theme background.
A small tip on getting the exact colour codes:
Take a screen shot of your blog (Use print screen key on your keyboard) and open photo shop, select new press ctr+v and then use the color picker to get the exact colour codes
Let’s go on with the actual part:
First decide how many types (linked unit, large rectangle, lead board etc) of ads you want to display.
For Example if you decide to place the following ad units in your WordPress blog
·Horizontal linked ad unit
·468*60 ad unit and
·460*60 referral unit
Open notepad, paste the Adsense code for horizontal linked unit in note pad and save it as horilinked.inc
Note: Don’t forget to select all types when saving the file in windows.
Repeat the above step for all the ad units and upload those files to wp-content>themes>XXXX
(In case your theme name is XXXX)