How to add Adsense Ads inside Blogger Posts wrapped inside text to get more CPC and Earnings

Adsense is the No.1 Advertising platform for bloggers now. All of us are trying to earn some $$$ from internet. I'm giving a trick to add adsense ads into the middle of the blog posts to get more ctr (Click Through Rate) and thus helping you to get about 300% or your previous earnings!.  Most of the readers are focused on the content of post instead of looking at the sidebars. So, sidebar ads cant contribute much to your earnings. Here, we can add adsense in to middle of the post wrapped inside text, to get more CTR. This method is adapting by most of the users now. This trick can be also used for other ads also.

So, follow the following steps to add adsense inside the blog posts wrapped inside text.

 Add Adsense inside Blog Posts

1.Login to your Adsense account and select which type of ads you want (Recommended to get a large Rectangle of Image/Rich Media Ads. It has high cpc and ctr)

2.Get the ad code of your adsense unit (in JavaScript)

3. You need to parse your adsense code first to add into your Blog template. As the blogger template is XML, it won't allow HTML/JS scripts, so you needs to convert the code into pure text. ie, < is converted to &lt; , > is converted to &gt; and so on. Thus when it is converted into Webpage by Blogger on their server, it will be in the form of ordinary JS and outputs into your browser. Thus, Adsense is shown in your blog.
If you don't understand this, leave it. Just use the following tool to parse the code.

Adsense Parser

4. Now keep you parsed code somewhere. We need it in the following steps.Now your Ad code is ready to add into your blog posts. It will look like this,

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-xxxxxxxx&quot;;
/* Hackers Admin */
google_ad_slot = &quot;1031081357&quot;;
google_ad_width = 336;
google_ad_height = 280;
&lt;script type=&quot;text/javascript&quot;

If you want, you can use this code by replacing xxxxxxxx with your publisher id. This is 336x280 Large Rectangle Rich/media Ad.

 Adding Code into Template

1. Go to Blogger Dashboard -> Design -> Edit HTML

2 Click "Expand Widget Templates"

3. Search for the following code (click CTRL+F for Find)

4. Now REPLACE <data:post.body/> with the code below :

<div style='float: left;'>
5. Now paste your parsed adsense code in the place i marked as  PARSED CODE

If you dont want do display ads in the main page or front page

use this code instead of above one
<b:if cond='data:blog.pageType == "item"'>
<div style='float: left;'>

Now save the template and save changes
Leave comments if you have any doubts....

Jayadeep K M

Hi. I'm a hacker, web developer and programmer, Inspired to find loopholes, fix broken things and make things work better.

  • Image
  • Image
  • Image
  • Image
  • Image