Amazon Contextual Product Ads

Wednesday, September 19, 2012

Place a Google Adsense Unit on center position


 
  1. Check the Expand Widgets Template box
  2. Find the code you and change like this <b:section class='header' id='header' maxwidgets='3' showaddelement='yes>
  3. Navigate to Design > Page Elements (previously Layout > Page Elements) and view the new option to add a gadget to the header area
  4. Click on Add a Gadget and select the Google Adsense gadget. For this example I chose a new linked 480 x 60 horizontal ad unit from the dropdown format menu for an Adsense ad that would sit above the blog title. Configure colors if necessary. Color blending is usually done automatically by Blogger according to the color schema of your template.
  5. Once you have created your Google Adsense unit go to Design > Edit HTML
  6. Check the Expand Widgets Template box
  7. Directly below you will see lines of code that resemble the following:
         <b:widget id='AdSense2' locked='false' title='' type='AdSense'>
      <b:includable id='main'>
      <div class='widget-content'>
      <data:adCode/>
      <b:include name='quickedit'/>
      </div>
   
   8. Add the following code shown in red
        <b:widget id='AdSense2' locked='false' title='' type='AdSense'>
     <b:includable id='main'>
     <div class='widget-content'>
     <div align='center'><data:adCode/></div>
     <b:include name='quickedit'/>
     </div>
    9. Save template and view your Adsense widget which will now be centered

No comments:

Post a Comment

Recent Posts