In this post, I will show you how to add floating ad units in blogger using simple steps. You can follow the below video if you can understand Telugu. 



1. Create an Ad Unit in AdSense.

First, create an ad unit in AdSense using these dimensions (Use 160x600 px ). Dynamic ad unit or vertical ad unit in AdSense.

2. Paste the Ad Unit code the below code.

Now paste the copied AdSense Ad Unit code and paste in the below code where it is highlighted as ADSENSE AD CODE HERE (Use 160x600 px dynamic ad unit or vertical ad unit in AdSense )


<style scoped='' type='text/css'>

.fixed-leftSd,.fixed-rightSd{position:fixed;top:60px;width:160px;height:600px;z-index:9999;transform:translateZ(0)}

.fixed-leftSd{left:0}

.fixed-rightSd{right:0}

.close-fixedSd{position:absolute;width:160px;height:15px;line-height:15px;font-size:11px;font-weight:400;top:-15px;left:0;text-align:center;background:#e0e0e0;color:#666;padding:5px 0;cursor:pointer}

@media screen and (max-width:800px){.fixed-leftSd,.fixed-rightSd{display:none;visibility:hidden;}}

</style>

<div class="fixed-leftSd">

<div aria-label="Close Ads" class="close-fixedSd" role="button" tabindex="0" onclick="this.parentElement.style.display=&quot;none&quot;">

CLOSE ADS

</div>

ADSENSE AD CODE HERE (Use 160x600 px dynamic ad unit or vertical ad unit in AdSense )

</div>

<div class="fixed-rightSd">

<div aria-label="Close Ads" class="close-fixedSd" role="button" tabindex="0" onclick="this.parentElement.style.display=&quot;none&quot;">

CLOSE ADS

</div>

ADSENSE AD CODE HERE (Use 160x600 px dynamic ad unit or vertical ad unit in AdSense )

</div>