1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

section targeting question

Discussion in 'AdSense' started by ChristianST, Sep 27, 2006.

  1. #1
    i have a site wich i needed to exclude some content from, so now i have the code like this:

    <head><!-- google_ad_section_start -->
    meta tags blablabla
    textblablablablabla
    textblablablablabla
    textblablablablabla
    <!-- google_ad_section_start(weight=ignore) -->
    badcontentblablabla
    badcontentblablabla
    badcontentblablabla
    badcontentblablabla
    <!-- google_ad_section_end(weight=ignore) -->
    textblablablablabla
    textblablablablabla
    textblablablablabla
    textblablablablabla
    <!-- google_ad_section_end -->
    contact info
    </tr>
    </table>
    </body>
    </html>



    is this correct? im not sure about that ignore part, any help would be nice
     
    ChristianST, Sep 27, 2006 IP
  2. Cryogenius

    Cryogenius Peon

    Messages:
    1,280
    Likes Received:
    118
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You should put in the section end tag before opening a new section. I don't think you can nest them like you have. Also, the end tag does not need to have any weight.

    
    <!-- google_ad_section_start -->
    - section 1
    <!-- google_ad_section_end -->
    
    <!-- google_ad_section_start(weight=ignore) -->
    + section 2 (ignored)
    <!-- google_ad_section_end -->
    
    <!-- google_ad_section_start -->
    - section 3
    <!-- google_ad_section_end -->
    
    Code (markup):
    Cryo.
     
    Cryogenius, Sep 28, 2006 IP
  3. ChristianST

    ChristianST Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    aha, thank you
     
    ChristianST, Sep 28, 2006 IP
  4. dmedia

    dmedia Peon

    Messages:
    15
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Also, keep in mind that it can take a few crawls before you start noticing the effect .. my experience anyway ..
     
    dmedia, Sep 28, 2006 IP