How to Show Adsense Ads Inside Blogger Posts?

We Often think of placing ads in between blogger posts but we don’t know how to do it. Doing so will help us optimize the adsense ads. I will now explain you how to embed Adsense ads in between blogspot posts.
Step :- 1
Backup your blogger template before making any changes. In case some mishap occurs you can easily restore your original template. To save your blogger template first go to Layout -> Edit HTML -> Click the Download Full Template link and save the template on your PC.
Step :- 2
Generate Parsed code for adsense code because we cannot input adsense code directly in the xml which cause coding errors. So parse it using AdParser.
After parsing, your ad code Should look like this.
<script type='text/javascript'><!–
google_ad_client = "pub-xxxxxxxxxxxxxxx";
/* 468×60, created 2/4/08 */
google_ad_slot = "xxxxxxxxx";
google_ad_width = 468;
google_ad_height = 60;
<script src='http://pagead2…../pagead/show_ads.js'
Now, Paste this code above or below post header line [Actual Code U have to use]
<p align=’center’>
Your Ad code
Note: /* Replace “center” with “left” or “right” for desired alignment */
To place ad above/below your post header, find the following code in your template. Layout->Edit Html->Click Expand Widget Templates
<div class=’post-header-line-1′/>
To place ad above your post header. Paste the code above this line.
(or )
To place ad below your post header. Paste the code below this line.
To place the ad at the end of your post body, find the following line in your template.
Paste the code below this line, to show your ad right at the end of your post.
To align the ad on left, right or middle
This is actual code u have to paste in the xml body.
Try this Technique. It Works. If u have any problem just comment in the comment form.

No comments:

Post a Comment