adsence layout

xonica

Junior Member
Joined
Jun 8, 2009
Messages
141
Reaction score
36
can someone explain to me how it is you add a block of ads into an actual blog post as i have seen on so many blogs .,..when i add the code for my adsence it just appears between the text not wrapped in it.. Im using blogger btw if this makes a duiference , and also is there any way it can be made so there is more then 3 blocks per page or no??
 
only 3 block and 2 link's spots per page , anyway it's highly recommended to use less spots (* tested ;) ) ...
Code:
 <span style="float: left; padding-right: 5px;"> paste here your adsense code ;)</span>
and you will have your ads blended on the posts ;)
 
hi there thanks for that , i cant seem to get that to work tho , is there a place in the style sheet or html i should place it? thank you!
 
Hope this helps:

Code:
Adsense Ad in Blogger

1.  Log into Blogger

2.  Click on "Settings"

3.  Click on "Template"

4.  Click on "Edit Html"

5.  Click on "Expand Widget Templates"

6.  Search for:
	
		<data:post.body/>   or   <p><date:post.body/></p>

7.  Type the following code BEFORE the code in step 6 above

		For Adsense:

<div class='post-body entry-content'>
<div style="float: left;">
<script type="text/javascript"><!--
google_ad_client = "pub-YOUR ADSENSE CODE";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div></div>

that should work!
 
you star! I was searching all day to try and find that code , thanks a million!
 
Back
Top