A great many websites insert advertisements within content. The methods vary from innocuous to downright obnoxious. Sometimes people just do not know when enough is enough, keywords with hover ads are the worst. However, developers place ads this way because it's the most effective way to draw attention and generate revenue.
Blogger provides an easy method to insert ads above or below posts automatically. Advertisements in the sidebars is also easily done. The three most popular ad units with advertisers are the Leaderboard (728x90px), Medium Rectangle (300x250px) and Wide Skyscraper (160x600px). These units tend to get the best ads. However, each presents design problems with bloggers default setup.
Best Ads Present Problems
Websites tend to work best when there is an established sense of flow. Advertisements which significantly interrupt that flow reduce visitor interest. Bloggers built in option to place ads above and below really only work well with short, wide ads that break up text minimally. A Medium Rectangle or Wide Skyscraper leaves lots of empty space and make pages difficult to read. Our goal must be to place ads in logical places so they act much as an interesting and relevant image.A Solution
It is a simple task to place any narrow ad at the top of a post, then have text elegantly flow around. Start by logging into your Ad Sense account. If you haven't created an Ad Unit already, set one up now. Next open up your blog Design->Edit HTML view and check Expand Widget Templates. Hit Ctrl+F and search for <data:post.body/>. Now, just before paste this html:<b:if cond='data:blog.pageType == "item"'>This places a box, floated to the left for your ad. Now, return to ad sense and copy the ad code you'd like to use. Replace the word Advertisement with your ad code. Finally, the ad code contains these two bits <!-- and //-->. Replace those respectively with <!;-- and //-->. Your code should resemble this example:
<div id='item-ad' style='float: left;margin-right: 5px;'>
Advertisement
</div>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<div id='item-ad' style='float: left;margin-right: 5px;'>
<script type='text/javascript'><!--
google_ad_client = "ca-pub-999999999999999999";
google_ad_host = "pub-9999999999999999999";
/* Item Ad - JSBlogStop */
google_ad_slot = "9999999999";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script src='http://pagead2.googlesyndication.com/pagead/show_ads.js' type='text/javascript'>
</script>
</div>
</b:if>
4 comments :
can you tell me how to add adsense middle of the post
http://smahkin.blogspot.com/
I believe you're asking how to insert ads within a posts body, such as between the 3rd and 4th paragraphs yes? AdSense within post bodies isn't very straight forward I'm afraid. Due to use restrictions in place by Google, you must manually insert the Ad code within the Edit HTML view of each post individually.
thanks for the info
http://smahkin.blogspot.com/
Thanks Admin !! You Are Awsme !! Thumbs up for yu brov.
Post a Comment