Adsense on Blogger question

Discussion in 'AdSense' started by eon, Mar 29, 2008.

  1. #1
    Hey,

    I just started a blog off on blogger and added a couple of adsense ads from the edit layout section. I tried putting an ad I made from my adsense account into the html section but it wouldn't have it, so I just used the 'add a page element' from the edit layout section instead, and added two different ads.

    The question is : Why don't these ads show up in the manage ads section in my adsense account, and will they appear at somepoint? I just think it'd be less confusing if they got added into that section, but maybe it's because you didn't create them from the actual adsense account that they're not listed there?

    Also : does this mean that I can't even track the clicks, etc for those ads? I'm still new with using adsense so I'm not sure about this at all, and any help would be really appreciated.
     
    eon, Mar 29, 2008 IP
  2. angilina

    angilina Notable Member

    Messages:
    7,824
    Likes Received:
    186
    Best Answers:
    0
    Trophy Points:
    260
    #2
    "does this mean that I can't even track the clicks"

    If you want to track clicks, then use channels.
     
    angilina, Mar 30, 2008 IP
  3. master_06

    master_06 Peon

    Messages:
    289
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Simply because they were automatically made using a widget and that they are not manually generated within your adsense account where you can manage ads....
     
    master_06, Mar 30, 2008 IP
  4. sparxxx

    sparxxx Peon

    Messages:
    1,036
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Instead of using the inbuild blogger adsense, just generate the code yourself and add it as a html/javascript widget. This way you can use channels to track what you are doing.
     
    sparxxx, Mar 30, 2008 IP
  5. eon

    eon Peon

    Messages:
    36
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yeah I tried adding into the HTML, but for some wierd reason the ads wouldn't show up... I'll probably try it again later though, thanks anyway.
     
    eon, Mar 31, 2008 IP
  6. nebhotep

    nebhotep Active Member

    Messages:
    244
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #6
    I also use AdSense in blogger. I use the built in facility and it's working just fine. I I want to manage the design of the ad I use the blogger account, and for tracking i have added an URL channel in my AdSense account. It is very easy and it's working just fine.
     
    nebhotep, Apr 1, 2008 IP
  7. eon

    eon Peon

    Messages:
    36
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hey, back again....

    So I decided to leave the ad that I put in via the 'add and arrange page elements' section, and it seems ok. But next I decided to put a link bar below the header into the HTML code. Nothing at all showed up so I tried making a div for it so that maybe it'd show up, but still nothing.

    What I'm thinking now is that the code that's going on with the new templates is just crap. The 'XML' stuff just loves showing up lame errors, and if I try to add code for an adsense add by the HTML part in there it just won't show up. I know this seems lame, but it really looks like something is wrong. You can use the inbuilt blogger bit to add adsense, but the HTML section seems to have serious problems. The classic layout? That works fine. I could add ads all over the place, but the newer one is just crap for adding things.

    Anyway, just incase you want to check this and see if you can see what'd make this work (because nothing at all shows up here.) here's the code (the div I made for the ad is called 'thissucks'.) :

    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
      <head>
        <b:include data='blog' name='all-head-content'/>
        <title><data:blog.pageTitle/></title>
        <b:skin><![CDATA[/*
    -----------------------------------------------
    Blogger Template Style
    Name:     Minima
    Designer: Douglas Bowman
    URL:      www.stopdesign.com
    Date:     26 Feb 2004
    Updated by: Blogger Team
    ----------------------------------------------- */
    
    /* Variable definitions
       ====================
       <Variable name="bgcolor" description="Page Background Color"
                 type="color" default="#fff" value="#ffffff">
       <Variable name="textcolor" description="Text Color"
                 type="color" default="#333" value="#333333">
       <Variable name="linkcolor" description="Link Color"
                 type="color" default="#58a" value="#5588aa">
       <Variable name="pagetitlecolor" description="Blog Title Color"
                 type="color" default="#fff" value="#ffffff">
       <Variable name="pagetitlecolors" description="Post Title Colors"
                 type="color" default="#000" value="#000000">
       <Variable name="descriptioncolor" description="Blog Description Color"
                 type="color" default="#999" value="#999999">
       <Variable name="titlecolor" description="Post Title Color"
                 type="color" default="#c60" value="#cc6600">
       <Variable name="bordercolor" description="Border Color"
                 type="color" default="#ccc" value="#cccccc">
       <Variable name="sidebarcolor" description="Sidebar Title Color"
                 type="color" default="#999" value="#999999">
       <Variable name="sidebartextcolor" description="Sidebar Text Color"
                 type="color" default="#666" value="#666666">
       <Variable name="visitedlinkcolor" description="Visited Link Color"
                 type="color" default="#999" value="#999999">
       <Variable name="bodyfont" description="Text Font"
                 type="font" default="normal normal 100% Verdana, Serif" value="normal normal 100% Verdana, Serif">
       <Variable name="headerfont" description="Sidebar Title Font"
                 type="font"
                 default="normal normal 78% 'Trebuchet MS',Trebuchet,Arial,Verdana,Sans-serif" value="normal normal 78% 'Trebuchet 
    
    MS',Trebuchet,Arial,Verdana,Sans-serif">
       <Variable name="pagetitlefont" description="Blog Title Font"
                 type="font"
                 default="normal normal 100% Lucida Console, Serif" value="normal normal 100% 
    
    Lucida Console, Serif">
       <Variable name="descriptionfont" description="Blog Description Font"
                 type="font"
                 default="normal normal 78% 'Trebuchet MS', Trebuchet, Arial, Verdana, 
    
    Sans-serif" value="normal normal 78% 'Trebuchet MS', Trebuchet, Arial, Verdana, Sans-serif">
       <Variable name="postfooterfont" description="Post Footer Font"
                 type="font"
                 default="normal normal 78% 'Trebuchet MS', Trebuchet, Arial, Verdana, Sans-serif" value="normal normal 78% 'Trebuchet MS', Trebuchet, Arial, Verdana, Sans-serif">
       <Variable name="startSide" description="Side where text starts in blog language"
                 type="automatic" default="left" value="left">
       <Variable name="endSide" description="Side where text ends in blog language"
                 type="automatic" default="right" value="right">
    */
    
    /* Use this with templates/template-twocol.html */
    
    body {
      background:$bgcolor;
      margin:0;
      color:$textcolor;
      font:x-small Georgia Serif;
      font-size/* */:/**/small;
      font-size: /**/small;
      text-align: center;
      }
    a:link {
      color:$linkcolor;
      text-decoration:none;
      }
    a:visited {
      color:$visitedlinkcolor;
      text-decoration:none;
      }
    a:hover {
      color:$titlecolor;
      text-decoration:underline;
    }
    a img {
      border-width:0;
      }
    
    /* Header
    -----------------------------------------------
     */
    
    #header-wrapper {
      width:482px;
      height : 247px;
      margin:0 auto 10px;
      background-image: url(http://img.photobucket.com/albums/v325/robfrost/maracana001.jpg);
      border:1px solid $bordercolor;
      }
    
    #header-inner {
      background-position: center;
      margin-left: auto;
      margin-right: auto;
    }
    
    #header { 
      margin: 220px 5px 5px 5px;
      text-align: left;
      color:$pagetitlecolors;
    }
    
    #header h1 {
      margin:5px 5px 0;
      padding:0px;
      line-height:1.2em;
      letter-spacing:.2em;
      font: $pagetitlefont;
    }
    
    #header a {
      color:$pagetitlecolor;
      text-decoration:none;
      }
    
    #header a:hover {
      color:$pagetitlecolor;
      }
    
    #header .description {
      margin:0 5px 5px;
      padding:0 20px 15px;
      max-width:700px;
      text-transform:uppercase;
      letter-spacing:.2em;
      line-height: 1.4em;
      font: $descriptionfont;
      color: $descriptioncolor;
     }
    
    #header img {
      margin-$startSide: auto;
      margin-$endSide: auto;
    }
    
    #thissucks {
    width: 500px;
    height: 25px;
    padding: 15px 0px 0px 0px;
    margin: 0 auto;
    }
    
    
    /* Outer-Wrapper
    ----------------------------------------------- */
    #outer-wrapper {
      width: 660px;
      margin:0 auto;
      padding:10px;
      text-align:$startSide;
      font: $bodyfont;
      }
    
    #main-wrapper {
      width: 410px;
      float: $startSide;
      word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
      overflow: hidden;     /* fix for long non-text content breaking IE sidebar float */
      }
    
    #sidebar-wrapper {
      width: 220px;
      float: $endSide;
      word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
      overflow: hidden;      /* fix for long non-text content breaking IE sidebar float */
    }
    
    #sidebar-wrapper2 {
      width: 150px;
      padding-left: 70px;
      float: $endSide;
     */
    }
    
    
    /* Headings
    ----------------------------------------------- */
    
    h2 {
      margin:1.5em 0 .75em;
      font:$headerfont;
      line-height: 1.4em;
      text-transform:uppercase;
      letter-spacing:.2em;
      color:$sidebarcolor;
    }
    
    
    /* Posts
    -----------------------------------------------
     */
    h2.date-header {
      margin:1.5em 0 .5em;
      }
    
    .post {
      margin:.5em 0 1.5em;
      border-bottom:1px dotted $bordercolor;
      padding-bottom:1.5em;
      }
    .post h3 {
      margin:.25em 0 0;
      padding:0 0 4px;
      font-size:140%;
      font-weight:normal;
      line-height:1.4em;
      color:$titlecolor;
    }
    
    .post h3 a, .post h3 a:visited, .post h3 strong {
      display:block;
      text-decoration:none;
      color:$titlecolor;
      font-weight:normal;
    }
    
    .post h3 strong, .post h3 a:hover {
      color:$textcolor;
    }
    
    .post p {
      margin:0 0 .75em;
      line-height:1.6em;
    }
    
    .post-footer {
      margin: .75em 0;
      color:$sidebarcolor;
      text-transform:uppercase;
      letter-spacing:.1em;
      font: $postfooterfont;
      line-height: 1.4em;
    }
    
    .comment-link {
      margin-$startSide:.6em;
      }
    .post img {
      padding:4px;
      border:1px solid $bordercolor;
      }
    .post blockquote {
      margin:1em 20px;
      }
    .post blockquote p {
      margin:.75em 0;
      }
    
    /* Comments
    ----------------------------------------------- */
    #comments h4 {
      margin:1em 0;
      font-weight: bold;
      line-height: 1.4em;
      text-transform:uppercase;
      letter-spacing:.2em;
      color: $sidebarcolor;
      }
    
    #comments-block {
      margin:1em 0 1.5em;
      line-height:1.6em;
      }
    #comments-block .comment-author {
      margin:.5em 0;
      }
    #comments-block .comment-body {
      margin:.25em 0 0;
      }
    #comments-block .comment-footer {
      margin:-.25em 0 2em;
      line-height: 1.4em;
      text-transform:uppercase;
      letter-spacing:.1em;
      }
    #comments-block .comment-body p {
      margin:0 0 .75em;
      }
    .deleted-comment {
      font-style:italic;
      color:gray;
      }
    
    #blog-pager-newer-link {
      float: $startSide;
     }
     
    #blog-pager-older-link {
      float: $endSide;
     }
    
    #blog-pager { 
      text-align: center;
     }
    
    .feed-links {
      clear: both;
      line-height: 2.5em;
    }
    
    /* Sidebar Content
    ----------------------------------------------- */
    .sidebar { 
      color: $sidebartextcolor;
      line-height: 1.5em;
     }
    
    .sidebar ul {
      list-style:none;
      margin:0 0 0;
      padding:0 0 0;
    }
    .sidebar li {
      margin:0;
      padding-top:0;
      padding-$endSide:0;
      padding-bottom:.25em;
      padding-$startSide:15px;
      text-indent:-15px;
      line-height:1.5em;
      }
    
    .sidebar .widget, .main .widget { 
      border-bottom:1px dotted $bordercolor;
      margin:0 0 1.5em;
      padding:0 0 1.5em;
     }
    
    .main .Blog { 
      border-bottom-width: 0;
    }
    
    
    /* Profile 
    ----------------------------------------------- */
    .profile-img { 
      float: $startSide;
      margin-top: 0;
      margin-$endSide: 5px;
      margin-bottom: 5px;
      margin-$startSide: 0;
      padding: 4px;
      border: 1px solid $bordercolor;
    }
    
    .profile-data {
      margin:0;
      text-transform:uppercase;
      letter-spacing:.1em;
      font: $postfooterfont;
      color: $sidebarcolor;
      font-weight: bold;
      line-height: 1.6em;
    }
    
    .profile-datablock { 
      margin:.5em 0 .5em;
    }
    
    .profile-textblock { 
      margin: 0.5em 0;
      line-height: 1.6em;
    }
    
    .profile-link { 
      font: $postfooterfont;
      text-transform: uppercase;
      letter-spacing: .1em;
    }
    
    /* Footer
    ----------------------------------------------- */
    #footer {
      width:660px;
      clear:both;
      margin:0 auto;
      padding-top:15px;
      line-height: 1.6em;
      text-transform:uppercase;
      letter-spacing:.1em;
      text-align: center;
    }
    ]]></b:skin>
      </head>
    
      <body>
      <div id='outer-wrapper'><div id='wrap2'>
    
        <!-- skip links for text browsers -->
        <span id='skiplinks' style='display:none;'>
          <a href='#main'>skip to main </a> |
          <a href='#sidebar'>skip to sidebar</a>
        </span>
    
        <div id='header-wrapper'>
          <b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
    <b:widget id='Header1' locked='true' title='FR (Header)' type='Header'/>
    </b:section>
        </div>
    
    
        <div id='thissucks'>
     <script type='text/javascript'><!--
    google_ad_client = "pub-5487622593179128";
    /* 468x15, created 01/04/08 */
    google_ad_slot = "6649399031";
    google_ad_width = 468;
    google_ad_height = 15;
    //-->
    </script>
    <script src='http://pagead2.googlesyndication.com/pagead/show_ads.js' type='text/javascript'>
    </script>
    </div>
    
    <!-- GAH I am going to scream-->
    
        <div id='content-wrapper'>
          <div id='crosscol-wrapper' style='text-align:center'>
            <b:section class='crosscol' id='crosscol' showaddelement='no'/>
          </div>
    
          <div id='main-wrapper'>
    <!-- google_ad_section_start -->
            <b:section class='main' id='main' showaddelement='no'>
    <b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/>
    </b:section>
    <!-- google_ad_section_end -->
          </div>
    
          <div id='sidebar-wrapper'>
            <b:section class='sidebar' id='sidebar' preferred='yes'>
    <b:widget id='Label1' locked='false' title='Labels' type='Label'/>
    <b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'/>
    <b:widget id='LinkList1' locked='false' title='Links' type='LinkList'/>
    </b:section>
          </div>
    
          <div id='sidebar-wrapper2'>
            <b:section class='sidebar' id='sidebar2' preferred='yes'>
    <b:widget id='AdSense1' locked='false' title='' type='AdSense'/>
    </b:section>
          </div>
    
          <!-- spacer for skins that want sidebar and main to be the same height-->
          <div class='clear'> </div>
    
        </div> <!-- end content-wrapper -->
    
        <div id='footer-wrapper'>
          <b:section class='footer' id='footer'>
    <b:widget id='AdSense2' locked='false' title='' type='AdSense'/>
    </b:section>
        </div>
    
      </div></div> <!-- end outer-wrapper -->
    <script src='http://www.google-analytics.com/urchin.js' type='text/javascript'>
    </script>
    <script type='text/javascript'>
    _uacct = &quot;UA-4000694-1&quot;;
    urchinTracker();
    </script>
    </body>
    </html>
    Code (markup):

    Another thing : when I tried adding this without the div, not only do I get no ad showing, but for a linkbar that is 15 pixels wide I get a massive 80 pixels or so gap, but still no add. Either the designers code for these later layouts (which I hesitate to rip into, because it's by Douglas Bowman.) or something from the blogger side just seems to make these things way harder to work with.

    Maybe I should just switch back to a classic layout and stuff this crap off.

    Ah here's the blog too : (add http, I can't make live links yet, only 9 posts.) ://footyrant.blogspot.com/
     
    eon, Apr 1, 2008 IP
  8. nebhotep

    nebhotep Active Member

    Messages:
    244
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #8
    you can modify the head layout of your template, to accept more page elements, and after you can add from layout a new ad or a html/java script page element
    Here is what you have to do:

    search for the code
    <div id='header-wrapper'>
          <b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
    <b:widget id='Header1' locked='true' title='FR (Header)' type='Header'/>
    </b:section>
        </div>
    Code (markup):
    and replace it with

    <div id='header-wrapper'>
          <b:section class='header' id='header' maxwidgets='10' showaddelement='yes'>
    <b:widget id='Header1' locked='true' title='FR (Header)' type='Header'/>
    </b:section>
        </div>
    Code (markup):
    This should resolve your problem
     
    nebhotep, Apr 1, 2008 IP
  9. eon

    eon Peon

    Messages:
    36
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Ahah! That's one way around it, cheers dude!
     
    eon, Apr 2, 2008 IP
  10. nebhotep

    nebhotep Active Member

    Messages:
    244
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #10
    your welcome
     
    nebhotep, Apr 2, 2008 IP