Skip to content Skip to sidebar Skip to footer

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 only work if we advertise in fixed fixed locations. For news sections, the most common places are below the headline, at the beginning, or at the end of the message.
adsense placement

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

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

Related: Include AdSense in posts after the first paragraph

Manually inserting AdSense ads into blogger posts is very simple. To do this, follow these steps:

Add AdSense ads in the middle of a blogger post or anywhere

Before proceeding, it is recommended to make a backup copy of your template: go to "Templates" and click on the "Backup/Restore" button to save a copy on your hard drive.

Add script

Step 1. First, we need to parse the AdSense code and convert it to plain text. Then go to Templates, click the Edit HTML button and click anywhere in the code area to search for this tag using CTRL+F:
Note: You can find this multiple times, but we'll have to stop at the second one. Or, if you don't see a difference, try a third one.


Step 2: Replace With this code:











Step 3: Paste the converted AdSense code where you posted it. Make a note and save your changes by clicking the Save Template button.

Note. To focus ads, add
Tags before and after the AdSense code:




Add AdSense markup to serve ads

Step 4: When creating a new post, add this notice to the HTML section where you want Google AdSense ads to appear:
For example:
This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text.

This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text.
The AdSense note message content is in the center
Note that if you don't add this annotation to indicate where the ad will appear, it will appear below the headline by default.

This allows us to insert AdSense ads between our blogger posts or anywhere. Don't worry about violating Google's terms of service , as using this method doesn't change the structure of the ad.

Post a Comment for "How to Add Adsense Ads In the Middle or Anywhere inside Blogger Posts"