Inserting Google Adsense in Blog Post

10:56:00 PM

Inserting Google Adsense in Blog Post

How to Insert Google Adsense in Blog Post?

One of the important things to be considered in maximizing your Google adsense revenue is the correct placement of Ads. By means of inserting Google Adsense in Blog posts you can have several controls arranging the Google adsense in between post or just after the blog title.

Through Google Adsense, you can earn as much money as you can, just by putting their ads on your blog or website.
Currently the existing Adsense widget is brilliant.

The favored Google Adsense placement must be at the top position of the blog post. However, two things must be consider:
1.          Altering the code by changing some elements of the code. This is not consider breaking of Google Adsense rules. And;
2.          Inserting it on the correct position in the template.
Together, these techniques are somewhat easy.

Inserting Google Adsense in Blog Post - Changing the code:

Initially you will need to copy your own Google Adsense Code that can be acquired on your Google Adsense account.
Below is an exmaple of Google of Adsense code:

<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-xxx";
/* 468x60, created 6/3/08 */
google_ad_slot = "xxx";
google_ad_width = 468;
google_ad_height = 60;
<script type="text/javascript"

It is required to change these elements:
·                     < 
·                     > 
·                     "
This table shows the replacement of each symbol:
What you want to show
What you replace it with

The result must be:

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-xxx&quot;;
google_ad_host = &quot;pub-xxx&quot;;
/* 468x60, created 10/1/08 */
google_ad_slot = &quot;xxx&quot;;
google_ad_width = 468;
google_ad_height = 60;
&lt;script type=&quot;text/javascript&quot;

Inserting Google Adsense in Blog Post - Placing code in proper position

The next step should be backing your current template, well just in case you will encounter errors.

>Click expand “Widget Templates”

By using the Ctrl F, search this code <data:post.body/>
Attach the modified code just below this line of code. You might need to place a line break to lower the Adsense. This will place the Adsense at the base of the post.

Search this code
post-title entry-title. Then attach the modified adsense code just above the searched code. The full line might be look like this <h3 class='post-title entry-title'>.
You may put a line break in between the post title code to separate it from the Google Adsense code
Then review the revision.

Inserting Google Adsense in Blog Post is pretty simple but go slow and check.

You Might Also Like


  1. thanks for the tips. nice blog - proud pinoywap member