LATEST: We are offering PENTESTING and WEB DEVELOPMENT service with low price Learn More

6/24/2013

Add Adsense Beside Social Sharing Widget In Blogger

Today we are discussing how to add adsense beside social sharing buttons.This hack will surely help you in increasing your earning and your blog will look smart.Its a simple modification by which your adsense CTR will increase and hence you will earn more from your blog.So lets start and add this beautiful wudget to your blogger blog.After installing this widget in your blg, it will look like image below:


Steps For Adding Google AdSense with Social Sharing Buttons Below Post Title


1. Go to www.google.com/adsense and create a new ad unit  300 x 250 and remember the ad id coz we need it later.

2. Now go to your blog Dashboard.

3. Now Template ==> Edit HTML.
4.Press ctrl+F and  Find ]]>

Paste bellow code above ]]>

<!-- www.hacking-articles.blogspot.com !-->
.ads{margin-bottom:10px;border-top:solid
 1px
#dedede;padding-top:10px;font-size:13px}.ads-right-min{border-left:solid
 1px #dedede;height:250px;padding-left:10px}.ads-right-min
a:link,.ads-right-min a:visited,.bottom-share-links
a:link,.bottom-share-links
a:visited{color:#222;display:block;height:32px;width:140px;font-size:12px;line-height:22px;margin-top:10px;padding-left:42px}.ads-right-min
 a:hover,.bottom-share-links
a:hover{color:#666}.mini-facebook{background:url(http://2.bp.blogspot.com/-6jaTWDpGmfo/UCTgjszL9TI/AAAAAAAABG8/SKs36K5t8mk/s1600/facebook.png)

no-repeat}.mini-tweet{background:url(http://4.bp.blogspot.com/-l191AZo0iJU/UCTgluqZVUI/AAAAAAAABHc/zQOgfNvJUsE/s1600/twitter.png)

no-repeat}.mini-del{background:url(http://1.bp.blogspot.com/-0w8JbwjV-zs/UCTgiQYoOkI/AAAAAAAABGs/FYi9YUmwoWo/s1600/delicious.png)

no-repeat}.mini-stumble{background:url(http://3.bp.blogspot.com/-_dhuHfImis8/UCTglMXnDLI/AAAAAAAABHU/6_uEOt8aUnM/s1600/stumbleupon.png)

no-repeat}.mini-digg{background:url(http://4.bp.blogspot.com/-P5AGL4kVELI/UCTgiykw5EI/AAAAAAAABG0/cj-n5i0lWZQ/s1600/digg.png)

no-repeat}.mini-plus{background:url(http://2.bp.blogspot.com/-BcGm4RSGKN0/UCTgkM-cazI/AAAAAAAABHE/LucpdhWlhNA/s1600/googleplus.png)

no-repeat}.flt-wdt{position:fixed;margin-right:10px;left:0;top:40%}.flt-wdt
 img{float:left;clear:left;margin:5px}
 <!-- www.hacking-articles.blogspot.com !-->


 5. Now Again find this
 <data:post.body/>



Now Paste the  bellow code  After <data:post.body/>

<!-- www.hacking-articles.blogspot.com !-->
<b:if
 cond='data:blog.pageType == "item"'>
<div class='ads'>
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width='354'><script type="text/javascript"><!--
google_ad_client = "ca-pub-8188960141234567"; /* bellow blog post */
google_ad_slot = "AD ID HERE"; google_ad_width = 300; google_ad_height =
 250; //--></script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></td>
<td>
<div
 class="ads-right-min"><a class="mini-plus"
expr:href=""http://plus.google.com/share?url=" + data:post.url"
rel="external nofollow" target="_blank">Share On
Google+</a><a class="mini-del"
expr:href=""http://del.icio.us/post?url=" + data:post.url +
"&title=" + data:post.title" rel="external nofollow"
target="_blank">Add This To Delicious</a><a
class="mini-tweet" expr:href=""http://twitter.com/home?status=Reading " +
 data:post.title + " " + data:post.url" rel="external nofollow"
target="_blank">Tweet/ReTweet This</a><a
class="mini-facebook" expr:href=""http://www.facebook.com/sharer.php?u="
 + data:post.url + "&title=" + data:post.title" rel="external
nofollow" target="_blank">Share on Facebook</a><a
class="mini-stumble"
expr:href=""http://www.stumbleupon.com/refer.php?url=" + data:post.url +
 "&title=" + data:post.title" rel="external nofollow"
target="_blank">StumbleUpon This</a><a class="mini-digg"
expr:href=""http://digg.com/submit?phase=2&url=" + data:post.url +
"&title=" + data:post.title" rel="external nofollow"
target="_blank">Digg This</a></div>
</td>
</tr>
</table>
</div>
<p></b:if>
<!-- www.hacking-articles.blogspot.com !-->


6.Now Save your template and you will see the changes.

Don’t forget make the below changes…

ca-pub-8188960141234567 replace with your adsense publisher id

AD ID HERE replace with your ad Id.
ENJOY and keep visiting for more intresting posts.

About Author:

Hi, Its me Aamir Khan, Owner of HACKING ARTICLES. I am an Ethical Hacker, Pro Blogger, addicted Web Developer and Security Researcher with experience in various aspects of Information Security. I am from Pakistan.Hacking is my passion and i wanna myself to be called as a LEGEND in this field.

Follow him @ Twitter | Facebook


1 comment:

  1. AdSense is a nice way to monetize your traffic, and very easy to implement.Google earns most of its revenue by allowing other website owners to advertise on their search results pages. The good news is that Adsense is about the easiest way for bloggers or webmasters to start making money with their sites.

    ReplyDelete

Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.
Note:
1. Make sure to click the "Subscribe By Email" link below the comment to be notified of follow up comments and replies.
2. Please "Do Not Spam" - Spam comments will be deleted immediately upon our review.
3. Please "Do Not Add Links" to the body of your comment as they will not be published.
4. Only "English" comments shall be approved.
5. If you have a problem check first the comments, maybe you will find the solution there.