Add 2 Column Ad space at the top of Blog Post?

Optimize ad placement below Blogger Post title with a 2-column layout. Learn how in a few simple steps!

The significance of precise ad placement cannot be overstated when it comes to generating income through advertisements. The strategic positioning of ads plays a crucial role in realising your desired revenue goals. While pinpointing the absolute best ad placement can be subjective, Google has identified key areas where ads tend to perform exceptionally well. These strategic locations include the top of the blog post, the sidebar, below the post title, and at the end of the blog post. Keep in mind that the effectiveness of these placements may vary depending on your blog's template design and overall layout.

Add 2 Column Ad space at the top of Blog Post

In this comprehensive tutorial, I will guide you through the process of optimising ad placement, specifically at the top of your blog post. This strategic approach allows for the display of two-column ads right at the beginning of your content, ensuring visibility across all pages of your blog. 

For optimal results, it's recommended to use ads with dimensions of 300px width and 250px height. Notably, this technique isn't exclusive to Google AdSense; you have the flexibility to showcase ads from various advertisers, expanding your monetization opportunities.

Adding a Widget container at the top of Blog Post

First We have to create a widget container at the top of Blog post. So kindly follow the below steps.

Step 1 Log in to your Blogger Account and Go to your Blogger Dashboard

Step 2 Click on Now click on -> Theme -> Edit HTML

Step 3 Now click on Jump to widget button from the top of HTML Editor. And select Blog1.


Step 4 Find the <b:section class='main' id='main' showaddelement='no'>  above <b: widget id = 'Blog1' locked = 'true' title = 'Blog Posts' type = 'Blog'> line. This step for creating a widget container above Blog Post.
widget container
  • If you don't find then search the code by pressing Ctrl+F (Windows) or CMD+F (Mac). 
  Step 5 Now replace <b:section class='main' id='main' showaddelement='no'>  code with <b:section class='main' id='main' showaddelement='yes'> code. Here I have changed only 'no' with 'yes'
add new gadget

Step 6 Now simply hit the Save template Button. Check you Blog layout that a new widget container has created. 

Placing 2 column Ads code at the top of Blog Post

After successfully creating the widget container now we will place the ad code there.

Step 1 Go to Layout from Blogger Dashboard. You will see new widget container has created.

Step 2 Click on Now click on -> Add a gadget Link and select HTML/JavaScript


Step 3 Now copy the below code and paste it on HTML/JavaScript widget.

  /* Apply styles in a separate <style> tag or in your external stylesheet */
  .ad-table {
    width: 610px;
    margin: 5px 5px 0 0;
    border-collapse: collapse;

  .ad-cell {
    background-color: #F5F5F5;
    padding: 5px;

<table class="ad-table">
    <td class="ad-cell" align="center" width="50%">
    <td class="ad-cell" align="left" width="50%">
Here's a breakdown of the changes: 
  1. Moved the styling to a <style> tag for better separation of concerns. 
  2.  Used CSS classes (ad-table and ad-cell) to apply styles, making it easier to manage and modify styles. 
  3.  Set border-collapse: collapse; to ensure a cleaner table appearance. 
  4.  Changed the width of the cells to be 50% each, so they share the width of the table equally.
  5. Added comments to explain the purpose of each section. 

Feel free to adjust the styles and structure according to your specific needs.


  • Replace FIRST ADVERTISING CODE HERE with 300px width and 250px height ad code. Similarly replace SECOND ADVERTISING CODE HERE  with 300px width and 250px height ad code.
Step 4 And press the Save Button. After that check the advertisement in your Blog site.


Notice the ad prominently featured at the top of your blog posts! If you have any questions or need assistance, feel free to leave a comment below. Your engagement is valued. Thank you for your interaction!

Go Up