Skip to main content

How to Put Google Adsense Below Post Title in Blogger?

Adsense is used by majority of expert bloggers for their website monetization because it is a cookie based contextual advertising system that shows targeted ads relevant to the content and reader. As bloggers are paid on per click basis, they try various ad placements on the blog to increase the revenue and get maximum clicks on the ad units.
Well, on some blogs, you might have seen Adsense ad units placed below the post title. Do you know why? It is because the area just below the post title gets the most exposure and is the best place to put AdSense ad units to increase Click Through Rate(CTR).
Even though ads below post title work like a charm but this doesn’t mean that it will work for you as well. If you want to find out the best AdSense ads placement for your blog, try experimenting by placing ads at various locations such as header, sidebar, footer, etc. You can try other blog monetization methods as well to effectively monetize your blog.
In this tutorial, I will guide you about how to show Google Adsense ads below post titles in blogger. So, without much further ado, let’s start the process 😉
Must Read:

How to Create Google Ads

  1. Login to your Google Adsense Account.
  2. Under “My Ads” tab, create a new Ad unit
Create new ad unit
Create a new ad unit
  1. Type ad unit name (it can be anything) and choose desired ad size. For better performance choose wide area ad sizes like 300*250 Medium Rectangle or 336*280 Large Rectangle
ad size large rectangle
Select ad size
  1. Customize your Ad Style to match it with your template. Then, click on Save and get code button.
  2. The ads won’t appear if you use that code directly. To use this code within the blogger (xHTML) template, you need to parse it first. Use this HTML Parse Tool to change special characters into their corresponding HTML entities.
parsed adsense code
Copy parsed Adsense code
  1. Now, copy the parsed Adsense code.

Adding Google Adsense in Blogger Below Post Titles

  1. Open your blogger dashboard >> Template.
  2. Backup your current blogger template.
  3. Click on Edit HTML button.
Edit Blogger Template
Press this button
  1. Copy all the template code and paste that into notepad. (to find the below code)
  2. Press Ctrl+F and search for <data:post.body/>. You might find this code more than one time but, you’ve to work with the second one.
  3. Now, place the below code just above <data:post.body/>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
PLACE YOUR AD CODE HERE
</b:if>
  1. Now, replace the PLACE YOUR AD CODE HERE with the Parsed Ad Code.
  2. Click on Save Template button.
  3. Done!!
Once you’ve performed the all above mentioned steps, then open your blog and visit any your blog posts. The Adsense Ad unit placed below post title will look something like this:
Adsense below post title
The AdSense ad unit will appear on the left side between article title and article content. If you don’t like ad placement and want to show it at the center or the right side, then use the below code.
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div align="center">
PLACE YOUR AD CODE HERE
</div>
</b:if>
Then your ad placement will look something like this:
adsense below post title in center
Ad below post title in Center
If you want to move your ad to the right side, simply change center from the above code to right. That's it.
If you’re still unhappy with the ad placement, you can try wrapping your content around the Google Adsense Ads (as shown in the image below):
Adsense-alignment
To do this, use below code:
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div style="float:left; margin:10px;">
PLACE YOUR AD CODE HERE
</div>
</b:if>
Replace left to right if you want to show ads on the right side wrapped with text.
Note: Once you’re done with placing your desired code, don’t forget to cross-check that all the codes are added between the conditional tags that will make ads appear only on the post pages (neither homepage nor labels/archives page). If you want to show ads below post title on every page of your blog then, just remove those conditional tags. (lines in blue color.)
If you are showing the ad on homepage and label pages also then take a look at your ad. It will be shown below all post’s titles means if you have set 5 posts to appear on your homepage then it will only appear below first three post’s titles. Last two will be shown as blank white space. On those, you can mind placing infolinks referral programbanner ads to make some extra money.
But, I will recommend you to show ad below first post title only as too many ads will make your website look like spam. For doing that, replace above conditional tags with below ones to show the single ad on homepage and labels page below first top most post’s title.
<b:if cond='data:post.isFirstPost'>
PLACE YOUR AD CODE HERE
</b:if>

Comments

Popular posts from this blog

12 Tips to Maintain a Virus Free Computer

1. Email is one of the common ways by which your computer can catch a virus . So it is always recommended to stay away from SPAM. Open only those emails that has it’s origin from a trusted source such as those which comes from your contact list. If you are using your own private email host (other than gmail, yahoo, hotmail etc.) " then it is highly recommended that you use a good anti-spam software. And finally NEVER click on any links in the emails that comes from untrusted sources. 2. USB thumb/pen drives is another common way by which viruses spread rapidly." So it is always a good habit to perform a virus scan before copying any data onto your computer. NEVER double-click the pen drive to open it. Instead right-click on it and select the option “open”. This is a safe way to open a pen drive. 3. Be careful about using MS Outlook. Outlook is more susceptible to worms than other e-mail programs, unless you have efficient Anti-Virus programs running. Use Pegasus ...

Streamlining Java Web Application Deployment with React WAR Generator

In the ever-evolving world of web development, managing builds and deployments can often be cumbersome and error-prone. Today, we're excited to introduce a tool designed to simplify and streamline this process: the React WAR Generator . What is the React WAR Generator? The React WAR Generator is a Python-based tool that automates the creation of WAR (Web Application Archive) files for Java web applications. It caters specifically to frontend projects built with React or similar frameworks, making it easier to package and deploy your web applications to a Tomcat server. Key Features Profile-Based Builds : With support for multiple profiles ( dev , test , prod , default ), you can build your application according to different environments and configurations. Version File Generation : Optionally generate a version file that integrates versioning information directly into your TypeScript files, ensuring your build versions are always up-to-date. Tomcat Deployment : Simplify your deploy...

Java API call Example using GSON, org.json.json and Jackson [ Simple Get Call] and parsing result as JSON

import com.fasterxml.jackson.databind.JsonNode ; import com.fasterxml.jackson.databind.ObjectMapper ; import com.google.gson.* ; import org.json.JSONArray ; import org.json.JSONObject ; import java.io.* ; import java.net.HttpURLConnection ; import java.net.URL ; public class APICALL { public static void main (String[] args) throws IOException { // String url="https://mocki.io/v1/19a50724-c2e5-46a1-b457-543462cdfde2"; String url= "https://jsonplaceholder.typicode.com/users" ; String line ; StringBuilder resp= new StringBuilder() ; System. out .println(url) ; HttpURLConnection con= (HttpURLConnection) new URL(url).openConnection() ; con.setRequestMethod( "GET" ) ; con.setRequestProperty( "Accept" , "application/json" ) ; System. out .println(con.getResponseMessage()) ; System. out .println(con.getContentType()) ; InputStream inputStream=con.getInput...

C++ Program to implement File Handling With Class Objects

Q32. Program to implement File Handling With Class Objects: Define a class to represent a bank account. Include the following members:   i) Depositor Name  ii) Account Number iii) Balance Amount Member Function   i) To Assign Initial values(opening balance Rs. 1000 by default)  ii) To deposit an amount iii) To withdraw an amount(if possible) iv) To display the current balance Write a file based program to store the records of at least ten accounts in “ACCOUNT_DETAIL” data file and perform the required manipulations- DEPOSIT, WITHDRAW & BAL_ENQUIRY using the file on a given account. The changes after each deposit and withdrawal should be updated in the given file. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 7...

Binary Search Tree in C++( dynamic memory based )

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 #include<bits/stdc++.h> using namespace std; struct bst { int val; bst * left, * right; }; bst * root = nullptr; void srch ( int num,bst * head) { if (head == nullptr){ cout << " \n Number is not present \a " << endl; return ; } if (head -> val == num) { cout << " \n Number is present \n\a " ; return ; } else { if (num < head -> val) srch(num,head -> left); else srch(num,head -> right); ...

JAVA program to Calculate Factorial using Function Interface (involve lambdas )

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 import java.util.Scanner ; import java.util.function.Function ; public class fact { public static void main ( String [] args ) { Function < Integer , String > fact =( n )-> { String res = "Factorial of " + n + " is=" ; double a = 1 ; for ( int i = 1 ; i <= n ; i ++) a *= i ; return res + a ; }; Scanner in = new Scanner ( System . in ); System . out . print ( "Enter the number :" ); int num = in . nextInt (); System . out . println ( fact . apply ( num )); } }

share large files directly from pc without uploading

share large files directly from pc without uploading # Steps: Step 1 : Go to http://www.filesovermiles.com. Click “Browse” and select the file to transfer. Step 2 : As soon as you select the file, the site will generate an unique URL which you have to share with the user to want to send the file to. Step 3 (2nd User) : The PC on the receiving end of this file transfer must go this unique url which will show a download option from the file to be transferred PC to PC # Note : The transfer file will continue to be available for download until the web page on 1st user’s browser is closed. This way you can securely transfer files of any size through one pc to another from your browser. No need to upload anywhere.

Binary Search Tree in Java implementation (reference based, dynamic memory)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 import java.util.Scanner ; class BST { static BST . Node root = null ; public void insert ( int num ) { if ( root == null ) { root = new BST . Node ( num ); } else { // root node is not empty BST . Node temp = root ; while ( temp != null ) { if ( num <= temp . getVal ()) { if ( temp . getLeft () != null ) temp = temp . getLeft (); ...