Tampilkan postingan dengan label adsense optimization. Tampilkan semua postingan
Tampilkan postingan dengan label adsense optimization. Tampilkan semua postingan

How to Add Adsense Ads In the Middle or Anywhere inside Blogger Posts

In a previous post we saw how and where we can place Adsense ads on our blog; however, these methods would only work when we place the ads on predetermined and fixed locations. For posts area, the most common places are below the title, at the beginning of the post or at the end of the post.
adsense placement

But what if we want to display an AdSense ad in the middle of a post?

We can manipulate the location of the ads to be displayed by adding a script inside the template and using a tag inside our post to where we want the AdSense ad to appear. Once added, we can place the ads anywhere, be it between paragraphs or in the middle of the content etc.

Manually inserting Adsense ads in the middle of posts in Blogger is pretty simple, just follow these steps below:

Before proceeding, it is recommended do backup your template (go to Template > click on the Backup/restore button)

Step 1. First thing we need to do is to "parse" the AdSense code, in other words, convert it to plain text. Then go to Template, click on the Edit HTML button, click anywhere inside the code area and look for this tag (CTRL + F):
<data:post.body/>
Note: you may find it several times, but we need to stop at the second one or if you can't see any changes, test the third one

Screenshot
Step 2. Replace the <data:post.body/> tag with this code:
<div expr:id='"adsmiddle1" + data:post.id'></div>
<b:if cond='data:blog.pageType == "item"'>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<div style="clear:both; margin:10px 0">
<!-- Add here the code of your ad -->
</div>
</b:if>
</b:if>
<div expr:id='"adsmiddle2" + data:post.id'>
<data:post.body/>
</div>
<script type="text/javascript">
var obj0=document.getElementById("adsmiddle1<data:post.id/>");
var obj1=document.getElementById("adsmiddle2<data:post.id/>");
var s=obj1.innerHTML;
var r=s.search(/\x3C!-- adsense --\x3E/igm);
if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
</script>
Step 3. Put the converted Adsense code to where you see the <!-- Add here the code of your ad --> annotation, then save the changes by clicking on the Save template button.

Note: For centering ads, add the center tag before and after the AdSense code, like this:
<div style="clear:both; margin:10px 0">
<center>
<!-- Add here the code of your ad -->
</center>
</div>
Step 4. When you create a New Post, add this tag inside the HTML section to where you want the Google AdSense ads to appear:
<!-- adsense -->
For example:
<div>This is a demo text. This is a demo text. This is a demo text. This is a demo text. This is a demo text. This is a demo text. This is a demo text. This is a demo text. This is a demo text. This is a demo text.</div>
<!-- adsense --><div>This is a demo text. This is a demo text. This is a demo text. This is a demo text. This is a demo text. This is a demo text. This is a demo text. This is a demo text. This is a demo text. This is a demo text.</div>

Screenshot
Note: If you don't add the label to bring up the ad, then the ad will appear below the title by default.

And you don't have to worry about violating the Google's Terms of Service because applying this method we are not changing the structure of the ad.

10 Places to put Adsense ads in Blogger

In this article we'll talk about the most common 10 places in our blog where we can add AdSense ads and about how we can implement these and we'll get to know as well which are the most suitable formats based on those available in our AdSense account.

Adsense Advertisements

In the Sidebar

adsense, ads, add adsense blogger

How to implement

This is one of the easiest areas to put AdSense. Just go to the Page Elements (Layout), click on the "Add a Gadget" link, then add an HTML/Javascript widget with your ad code inside it or add directly an AdSense widget.

Recommended formats: 125 × 125, 120 × 600 and 160 × 600, 300 x 600

Between posts

blogger posts, blogger tricks, adsense ads

Implementation. You can add AdSense ads between your posts by going to Layout, click on the "Edit" link below the Blog Posts section, then check the "Show Ads Between Posts" option.

Recommended formats: 468 × 60, 300 × 250 and 336 × 280

Under the header

blogger header, blogger tips, adsense

Implementation:

Before anything, you need to convert your AdSense ad code - you can use this converter here:

AdSense Ad Converter

Next thing to do is to go to your Blogger Template (log in to your Blogger Dashboard, click on Template and press the Edit HTML button) and click anywhere inside the code area to search for the following code using the CTRL + F keys:
<div id='header-wrapper'>
Paste the converted code right after it.

Recommended formats: 728 × 90 and 728 × 15

Above the blog posts


make money, adsense, blogger tutorials

Implementation:

Convert your ad code and search for <div id='main-wrapper'> in your template.

Paste the converted code right after it.

Recommended formats: 460 × 68, 468 × 15 and 336 × 280

Under the post title (this will be visible on all the pages)

money online, blogger tricks, how to blogger
Implementation:

Convert your AdSense ad code and go to your Template > Edit HTML > click anywhere inside the code area and search for the following line (CTRL + F):
<div class='post-header-line-1'/>
Note: if you can't find it, search it without the ending slash /

Paste the converted code right after it.

Recommended formats: 468 × 68 and 468 × 15

Under the post title (visible only on the posts pages)

Implementation:

Convert your ad code and then go to your Template, click anywhere inside the code area and look for:
<div class='post-header-line-1'/>
Note: if you can't find it, search it without the trailing slash /

Paste the converted code, following this example:
<b:if cond='data:blog.pageType == "item"'>

<!-- Add here the code of your ad -->

</b:if>
Recommended formats: 468x68 and 468x15

In the posts' footer

post footer, adsense, blogger blogspot

Implementation:

Convert your ad code and then go to your Template > click anywhere inside the code area and look for:
<p class='post-footer-line post-footer-line-3'/>
Note: if you can't find it, search it without the trailing slash /

Paste the converted code right after this line.

Recommended formats: 468x68 and 468x15

In the post's body (it will be visible on all pages)

adsense how to, blogger tricks, gadgets

Implementation:

Convert your ad code and then go to your Template > click anywhere inside the code area and look for:
<div class='post-body entry-content'>
Note: in case you don't fint this code, search only for <div class='post-body'>

And paste the converted code by following the example below:
<div style='float:right'>

<!-- Add here the code of your ad -->

</div>
Recommended formats: 125x125, 180x150, 120x240 and 200x200

In the post's body (visible only in post pages)

Convert your ad code and then go to your Template, click anywhere inside the cod area and look for:
<div class='post-body entry-content'>
Note: in case you don't fint this code, search only for <div class='post-body'> 

And paste the converted code by following this example:
<b:if cond='data:blog.pageType == "item"'>
<div style='float:right'>

<!-- Add here the code of your ad -->

</div>
</b:if>
Recommended formats: 125x125, 180x150, 120x240 and 200x200

Between post and comments (visible only on posts pages)


Implementation:

Convert your ad code and then go to your Template, click anywhere inside the code area and look for:
</b:includable>
<b:includable id='postQuickEdit' var='post'>
Paste the converted code just above it, following this example:
<b:if cond='data:blog.pageType == "item"'>

<!-- Add here the code of your ad -->

</b:if>
Recommended formats: 468x60, 300x250 and 336x280

In the blog's footer

blogger footer, adsense ads, make money online

Implementation:

Convert your ad code and then go to your Template, click anywhere inside the code area and look for:
<div id='footer-wrapper'>
Paste the converted code right after it.

Recommended formats: 728x90 and 728x15

FAQ

Some questions that are likely to arise:

I can't find the codes, what should I do?
When searching for a specific code, make sure that you have no spaces before/after it. These are the default codes of Blogger and should be found in all the templates unless they have been modified by the template designer.

Why should I convert my AdSense code?
The Blogger's Template reads it as text and not as code so it is better to avoid any errors when trying to save it.

The ads are not displaying properly, why is that?
The ads could be affected by the styles (CSS) selectors (divs) containing them and some templates could be wrong designed, then you should consider modifying these styles, look for another relevant place or in extreme cases, change the template.

Can I put the all 10 codes on my blog?
No, you should choose just one of the locations where you want to put the ads considering that AdSense have some limits on the number of ads that could be displayed. Try to make a balance with your content.

Why there should be only 3 ads displayed on the main page?
This is due to the limit set by AdSense. Combine the type of ads (text, rich media ads and link units) if you want to show more ads.
Hopefully, this guide will be useful to those of you who need to display AdSense ads on your blog.

Add Google Adsense to Blogger Header (Above the Title)


In some of my last tutorials (Social Media Buttons beside Adsense ads Adsense inside Blogger Header ), you've seen a few tricks for Adsense ads placement that may help you to increase your adsense earnings. Now, I will show you how to add Google Adsense above your header, for instance, just above the title of your Blogger blog. This can be done by adjusting your template to give you the option of adding more than one widget to the header area.


Add a new element to Blogger header

Step 1. From your Blogger Dashboard, go to Template and click on the Edit HTML button (it is recommended to make a backup first - click on the Backup/Restore button on the right side)


Step 2. Click anywhere inside the code area and press the CTRL + F keys to open Blogger' search box:


Step 3. Paste or type the following code inside the search box and hit Enter to find it:
<div id='header-wrapper'>
Note: if you can't find that one, try to find this one instead:
<div class='region-inner header-inner'>
Step 4. Just below one of these lines, you should see this line:
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
Step 5. Replace the values in red like in this example:
<b:section class='header' id='header' maxwidgets='3' showaddelement='yes'>
Step 6. Click on the Save Template button to save the changes.

Adding the Adsense ad unit above the Blogger header


Step 7. Go to Layout (left side) and on the right side you should see a new section that will allow you to add a gadget to the header area

page elements, blogger, add a gadget

Step 8. Click on Add a Gadget link and select the Google Adsense gadget.

adsense gadget, blogger widgets

In case you want to add the script of an ad from your AdSense account, choose the HTML/JavaScript gadget and paste the script inside the empty box, then click on Save button.

html javascript gadget, blogger gadgets

If you don't know how to create an AdSense ad, please read this tutorial: 
How to Add Adsense ads on Blogger

Choose the type of ad unit you want. In my example, I added a new Adsense 728x15 ad link unit I thought would look good above the blog title. Color blending is usually done automatically by Blogger according to the color schema of your template but you can choose any other colors.

Step 9. Click on the Save arrangement button on the right side.

blogger save arrangement

Now view your blog to see your new Google Adsense unit. If all is going well, your new AdSense ad unit should appear above your blog's title or logo:

adsense ads above header

Note: it may take a while for your ads to show if you created an ad unit on your AdSense account

This is a very good Adsense placement that can help you to increase the CTR of your blog.

Google adsense optimization tips

adsense, what is google adsense, earn with adsenseWhat is Google AdSense? 

Google AdSense is a free program run by Google that allows you to display Google adverts on your blog/website and pays you everytime someone clicks on one of these ads. Just submit your blog to Google for approval and after your content has been approved, you are ready to place AdSense ads on your website.  But beware, Google AdSense doesn't approve any sites! According to AdSense policy you are not allowed to do the following things:

1) Do not click on your own AdSense ads by any way.
2) Do not increase AdSense ad impressions with some automating tools.
3) Don’t ask others to click on your ads.
4) Don’t alter the AdSense code other than fonts and colors.
5) Don’t put AdSense code on adult or prohibited content.

Some basic optimization tips can double your AdSense revenue, so i've added a list of some of the best Google Adsense Tips and Tricks for making more money from the Google Adsense program.

Tips to Increase Google AdSense Earnings

1) Place the Adsense ads above the main fold that user can see your ad units without scrolling down on your site. This will increase your Ads Click Through Rate (CTR)
Because browsers and screen sizes vary, Google has created a nice tool that allows you to enter any URL, and check whether you've implemented your ads above the fold.

2) The best performing ad units for AdSense are:

250×250 Square
160×600 wide skyscraper
336×280 large rectangle
300×250 medium rectangle

Use them wisely. I suggest you to place 250 x 250 size ad units at the top of every post and align it at the right or left side of the post content. The 160×600 ad format can easily fit in the sidebar of your blogger blog.

3) You can use the following “heat map” provided by Google to analyze other top performing ad placement slots. You should concentrate on the areas with darker orange color which represents the hot spots of the ads slots. (see in the image below)

blogger blog, what is adsense, google analytics

4) Text ads are good for the first Google Ad unit. I also recommend you to place a 300×250 unit in the sidebar (or somewhere below the fold) – these generally serve CPM based ads and will help you monetize visits from places like Digg and StumbleUpon.

5) Ads placed in-between the content can also perform well. If you have small posts then put ads at the top of the page content. If you have big post then ad units placed at the bottom or middle of the post.

6) Do not use borders to your text ads or use them wisely.

7) To blend, choose the colors that match with the colors of your website: for example if your site background is black, you will put the same background for your Adsense ads. If your links are blue, then select the color blue for Adsense links. If your titles are red, then make your Adsense block titles red.

8) To complement, use colors that already exist on your site, but don't match the background and borders exactly where the ads are placed.

9) To contrast, choose colors that stand out against the background of your site. Contrasting is recommended only for sites with dark background, so we suggest using an ad style with white background, white borders, and blue titles. (google hints)

10) Use link units near the site navigation bar. The main advantages of this placement, are that they can perform well and you don't need too much Ad space on your site. This way, your site looks clean and also, your visitors will be annoyed.

11) Study your keywords and the target ads to these keywords. Usually, Google Adsense crawler searches for the first or second paragraph to target ads to that page so don't forget to add your page-targeted keywords at the beginning of your post.

12) MFA (made for AdSense) sites are websites created around AdSense keywords, and often, these are poor quality sites with little or no original content. Use Allow and block ads feature to block low paying or irrelevant ads showing on your site. And be careful when you're doing this, sometimes one ad unit can give you $0.01 in one country and $1 in other country.

13) Use Google Adsense ad preview tool to view what ads are showing on your site.

14) Many times you can earn you more AdSense revenue from Image search engines than with the regular web traffic. Upload good quality images and use text captions with alt tags to make sure that blog images rank good in Image Search results.

15) Add a search box at the top left region of your blog and use the word "search" in the submit button otherwise visitors might be confused and might not notice it. If you use a second search box, put it at the bottom of your pages.

If you have any other suggestions, write a comment below.
Good luck!

Add Social Bookmarking Buttons near Adsense Ads

The main advantages of this widget is that you can increase your AdSense impressions along with CTR - and of course, fill up the empty space besides Adsense units, making your blog look more attractive.

Adding the social bookmarking buttons at the top of your blogger post, will make things easier when your readers will want to share your posts via the networking sites. The widget includes buttons for Del.icio.us, Twitter, Facebook, StumbleUpon, Technorati and Digg.


How to add this widget:

1. Firstly, login to your Blogger Dashboard and go to Template and then click on the Edit HTML button
 (don't forget to make a backup of your template)

2. Search (CTRL + F) for the following tag:

]]></b:skin>

3. Paste the following CSS code just above it:

.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{
font-size:12px;
color:#222;
display:block;
height:22px;
line-height:22px;
margin-bottom:16px;
padding-left:32px;
}
.ads-right-min a:hover,
.bottom-share-links a:hover{color:#666;}
.mini-tech{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHTiMyVocYlSKLRqzdzg64IS__mhwJYeplst53QKf9je36T_MbW4IcAonoPCwbnxR0WZ3wzeeFa8Xp8mvjPrvMrStpfjJ2TtmH9dPNHZUtAoDv4cTHytTV1kSj2bKRCbdylcouiffIkhq0/s1600/technorati.gif) no-repeat;}
.mini-facebook{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhooL_OuZ8PnTj_blgh-Zo55CtHm2jGo2-ZdPqZApD29xI9FL7LWWtCMHIR2CocK1v-hjB14CSQGlQ4PJ9_tX2b9TPKRVPJ2hjR2-2hufKSNYvnthzjApCBu6qCJSaUz4KHYG7JYGxJ1FNq/s1600/facebook.gif) no-repeat;}
.mini-tweet{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjNs5YRXuXGhTcVGgGmT71Wg-XY_9-1g5AwKFdiJIC-NjraeAAPuc5bstex3D5JOHhmcjcTPsdoYzr1nwbJSZgkVRkmfqauuIBCD7N9ahpIGOx1ztUOaXefWdkuwMHUhW4noYcm1zGUFW0/s1600/tweet.gif) no-repeat;}
.mini-del{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTDx5IWBY33E5-FZHNNVe__IcpTThjALEa2SAt37LzTN_gk-DCxaVZAQKDazi44OlpEmVWc1sM9cvZ-RBwEFhPxI-6W1l0gJN0Qufevl3PR8CJUiqOcR0uVABJdfAFGo4t-0qaLYvMyO_u/s1600/delicious.jpg) no-repeat;}
.mini-stumble{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxs_vwjYPbcqgh9V1iGrM2qTJULTIRPmHM6Z-C5KLb5CwcMHNAZEkRpcC2LC0R_UUxoNsgh3wefVxghFem5aPePuzS-4RjuTnfCBesJQR0Y1-_MStuB1YStRXjkCi8sP8b7dlLpUlb9KaO/s1600/stumbleupon.png) no-repeat;}
.mini-digg{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrtSsKCb6O0azOzkTSlRLtEDHtdUCR0onWAmakT1jMSP65QP61iZCcy-BTLY7RVCa8KChTZnYCzb2Hppm39KnODpqAErilNqY42Hw4AARfp4wAFjpYHJhMBGRaqEQObrGSywrAUBmYYvDJ/s1600/Digg.png) no-repeat;}

4) Now search - using "CTRL+F" - for the following line:

<div class='post-body entry-content'>

 If you can't find it, search for this one:

<div class='post-body entry-content' expr:id='&quot;post-body-&quot; + data:post.id'>

5) Add the following code directly below it:

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div class='ads'>
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width='354'>
&lt;script type=&#39;text/javascript&#39;&gt;&lt;!--
google_ad_client=&quot;pub-YOUR PUBLISHER ID&quot;;
google_ad_host=&quot;pub-1556223355139109&quot;;
google_ad_width=300;
google_ad_height=250;
google_ad_format=&quot;300x250_as&quot;;
google_ad_type=&quot;text_image&quot;;
google_ad_host_channel=&quot;0001&quot;;
google_color_border=&quot;FFFFFF&quot;;
google_color_bg=&quot;FFFFFF&quot;;
google_color_link=&quot;0000FF&quot;;
google_color_url=&quot;008000&quot;;
google_color_text=&quot;000000&quot;;
//--&gt;&lt;/script&gt;
&lt;script src=&#39;http://pagead2.googlesyndication.com/pagead/show_ads.js&#39; type=&#39;text/javascript&#39;&gt;
&lt;/script&gt;
</td>
<td><div class='ads-right-min'>
<a class='mini-del' expr:href='&quot;http://del.icio.us/post?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Add To Del.icio.us'>Add This To Del.icio.us</a>
<a class='mini-tweet' expr:href='&quot;http://twitter.com/home?status=Reading &quot; + data:post.title + &quot; &quot; + data:post.url' target='_blank' title='Post this article on Twitter'>Tweet/ReTweet This</a>
<a class='mini-facebook' expr:href='&quot;http://www.facebook.com/sharer.php?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Share On Facebook'>Share on Facebook</a>
<a class='mini-stumble' expr:href='&quot;http://www.stumbleupon.com/refer.php?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Stumble This'>StumbleUpon This</a>
<a class='mini-tech' expr:href='&quot;http://www.technorati.com/faves?add=&quot; + data:post.url' target='_blank' title='Add To Technorati'>Add to Technorati</a>
<a class='mini-digg' expr:href='&quot;http://digg.com/submit?phase=2&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Digg This'>Digg This</a>
</div>
</td>
</tr>
</table>
</div>
</b:if>

Replace YOUR PUBLISHER ID with your AdSense account ID. You'll find it with the Home tab, on your "Account settings" page. It should look something like this:

pub-5623269265862168 (copy only the numbers and then paste them)

6) Save template... and just go to one of your post to see the changes.

AdSense optimization tips straight from Google

Do you use Google AdSense to monetize your site? Then check out these top 5 optimization tips straight from Google!

Top AdSense Optimization Tips

1. Maximize your AdSense coverage
In order to maximize your earnings, place three AdSense ad units and three link units on each of your pages. The more ads you display, the more opportunities you have for your users to engage with them.

Also, because some ads are paid on a cost-per-impression (CPM) basis, you will often be paid just for displaying the ads, regardless whether a user clicks on them.

2. Place your ads above the fold
Ads that appear higher on the page perform the best. Place your ads so users can see them without scrolling down the page. The more a user has to scroll before finding your ads, the less likely they are to see them and to click on them.

3. Use the best performing ad units
Our advertisers’ preferred ad units are the Leaderboard (728×90), the Medium Rectangle (300×250) and the Wide Skyscraper (160×600). By using these popular ad units, you’ll be tapping into a larger pool of competing ads. More ad inventory leads to more competition in the ad auction and ultimately results in higher RPMs for our publishers.

4. Show text and image ads
Check your ad units and make sure that you’ve opted-in to displaying text and image ads. By diversifying your ads, you’re able to increase the available inventory for your site. With most text ads paid on a cost-per-click (CPC) basis and most image ads paid on a cost-per-impression (CPM) ad, you can let AdSense determine which ads will maximize your earnings.

5. Complement your content with your ads
Your AdSense ads should fit seamlessly within your site to improve your users’ experience. Blend the color of your ads to match the rest of your site and remove the borders around your ad units to help your ads complement your content and enhance your site.

Bonus Tip: Opt-in to Placement Targeting
Set up Custom Channels in your AdSense account and opt-in to Placement Targeting. Placement targeting allows our advertisers to bid on a specific ad or group of ad placements on your site. Advertisers are usually willing to bid more for targeted units.

Have additional questions? Check out http://adsense.google.com/support

And that’s it. At the end of the day, it's all about testing your ads and monitoring how they perform for you on your site. Good luck!