Ads and Posts
Posted On Monday, January 7, 2008 at @ 9:17 PM by UnknownThe Question how do I put Ads in my post. For his example I will be using Google Adsense Banner (468 x 60). See Example like in my blog:
Interested?, If so then Lets Start:
Before we start please take Template Backups.
Original Code -
<script
type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXXX";
//468x60, Hack Beta InPost google_ad_slot = "0532734472";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script
type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXXX";
//468x60, Hack Beta InPost
google_ad_slot = "0532734472";
google_ad_width = 468; google_ad_height = 60;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
To achieve this place your codes in this textbox and click on 'Parse' button.
2. Here's where to place it:
<div class='post-body'>
<p><data:post.body/></p>
<div style='clear: both;'/><!-- clear for photos floats -->
</div>
To get to the above location Get into the admin control of you blog, then click on 'Template', then click on 'Edit HTML' and mark sure that the 'Expand Widget Templates' option is ticked.
Notice the <data:post.body/> ok now paste you parsed Adsense code right after this. So that it looks like this:
<p><data:post.body/>
<div style='float:left;'><!-- Creates a new Layer -->
<center>
<!-- Centers Ads / Codes -->
<script
type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXXX";
//468x60, Hack Beta InPost
google_ad_slot = "0532734472";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
</div>
</p>
Click 'Save Template' and the go to your blog and check it out.
Your Ads will appear right after each post. For Adsense TOS the ads will only appear for the first 3 posts, this is automated in Adsense Script itself. The neat thing about this method is the location is really optimal and will give really good CTR. Go go ahead and try it. PS: If there are any issues please comment back.Tips for New Bloggers: AdSense Code in Blogger Post Body
Who knows where to download XRumer 5.0 Palladium?
Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!