How to put Adsense link unit in your blog header

This trick is for Blogger users and will definitely work for you if you are using a Layout template.

Before you intend using this trick, i hope you have already registered with Google Adsense and also advisable that you BACK UP your template before editing html of your template.

To put an Adsense Link Unit Ad. in the header, simply follow the steps below……….

Log in to your Dashboard.
Click on your ‘Layout’ link under the blog name you want to add the Adsense link unit Ad to.
This takes you to Page Elements under the Template tab.
Click on Edit Html. ( DON’T put a check in the Expand Widget Templates box)
Scroll down in Edit Template field till you come to :

div id=’header-wrapper
b:section class=’header’ id=’header’ maxwidgets=’4′ showaddelement=’yes’

Change the second line (in your code ) to be SIMILAR as the RED LINE above with the MAXWIDGETS set to any number above 1 and SHOWADDELEMENT changed to YES as in the red line above. THOSE ARE THE ONLY THINGS YOU SHOULD CHANGE IN YOUR CODE AND DON’T DELETE THE ENCLOSING BRACKETS IN YOUR CODE.

Save Template.
Click on Page Elements subtab.
Now you will see in the Header Section an ‘Add Page Element’ link.
Click on the link and in the popup window choose ADSENSE.
A pop up window will pop up
Choose the 728x 15 Horizontal Row OR 468x 15 Horizontal Row
You can change the look of the Ad. with the options in the pop up box
You will notice the Ad. above the Title unit.
Click and drag this to below the Title unit.
View blog.

Please Share :

Receive Alerts In Your Email Inbox

Enter Your Email Address Below To Receive Latest Updates via Inbox, Free of Charge!

What do you think?

93 Points
Upvote Downvote

Written by Jide Ogunsanya

Pro Nigerian Blogger, Digital Marketer and Web designer. I help business owners to grow their businesses online. You can join my Facebook Group here or join my Telegram Group here.

Comments are closed.


Nigezie: Free music, free videos, free traffic for bloggers.

Liberty Reserve: Alternative to Egold