Want to learn how to install Google Adsense advertisements into your Wordpress posts like the pros? If so, you’ve definitely found the perfect article. Though I haven’t experimented much with Google Adsense placement, I have looked at the “top money making websites” and have adopted their current Adsense placement strategies. I do not like placing Adsense ads. within all of my blog posts because it appears as a bit too “spammy.” However, when I do insert Adsense into a post, I want to make those posts and the Adsense placement look professional and still generate the maximum number of clicks.

Common traits of successful adsense integration include:

  • A 300 x 250 “square” Adsense box
  • Adsense placement is either: to the right or to the left of the text
  • Adsense is located near the top of Wordpress posts (this is a “hot spot”)
  • The text is straight and aligns well with the advertisement (i.e. not jumbled)

Steps to successfully installing Adsense into your posts (like a pro):

1) Download Phil Hord’s Adsense plugin

2) Extract the plugin

3) Open the extracted file with ‘Wordpad’ (Right click>>”open with…”>>wordpad)

4) In Wordpad, look for this coding:

$adsense_code = ‘
<!– Begin Google Adsense code –>
<b>Your Google Adsense code should be here, but you forgot
to edit the plugins/adsense.php file and replace the code
there with your own.</b>
<script type=”text/javascript”><!–
google_ad_client = “client-code-goes-here”;
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = “468×60_as”;
google_ad_channel =”";
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
<!– End Google Adsense code –>
‘;

5) Replace that coding with your 300 x 250 google Adsense account coding. Begin your adsense code where it says “Begin Google Adsense Code” and end your adsense code where it says “End Google Adsense Code.” (Self-explanatory)

6) After adding your own code, paste the following: <div style=”display:block;float:left;margin: 5px 5px 5px 5px;”> near the top of your coding in between $adsense_code = ‘ and <!– Begin Google Adsense code –>

(Note: in the code which you just added, you can edit “float:left” to “float:right” if you would rather the adsense be on the right side of your text. )

7) At the end of the “Google adsense coding section” (after: </script>) just add: </div> …Once this is added, you are done with all code editing; c-o-n-g-r-a-t-s!

8) After step 7, be sure to “Save the file” [or all of your hard work will have been wasted]

9) Next, upload the saved file to your “wp-content/plugins folder”

10) After uploading, log into your wordpress website as admin & click on the “plugins” tab

11) Find the plugin “Adsense” and click “activate”

12) After activation, you’re done!!! (That was easy…)

How to use the plugin you’ve just installed:

In order to insert Adsense into your posts, you must first click “save” or “save and continue editing” on the post you wish to insert the ad. (Otherwise it won’t work…and could give you a splitting headache) To insert the coding into your adsense posts, click on the “code” tab (near your post title). After clicking “code,” you should see a tab entitled “Adsense.” When you click that tab, the adsense code: <!–adsense–> will automatically be inserted into your WP post. You can customize the area in which you want the advertisement to appear by moving your cursor to a different location.

A bonus Adsense plugin to save you all some extra time: check this out!

If you don’t already have an adsense plugin that displays your daily Adsense earnings on your wordpress dashboard, check this out. This plugin will definitely save you a lot of time (especially if you constantly check adsense earnings) and will save you the hassle of logging into your Google account. Overall, this is a nice, convenient plugin that I recommend you try if you haven’t already.

After reading this post, you now have the power to help you integrate adsense into your post like the pros. Hopefully you were able to successfully integrate the coding and if you have any questions, feel free to drop a message in the contact form.

If you enjoyed this post, make sure you subscribe to my RSS feed!