help me please

Discussion in 'HTML & Website Design' started by ostaz4u, Jun 13, 2009.

  1. #1
    i have code for google ads and I put in my blog
    show that
    <?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'>
    <script type='text/javascript'><!--
    google_ad_client = "pub-1027961043641118";
    google_ad_host = "pub-1599271086004685";
    /* 728x90, created 13/06/09 */
    google_ad_slot = "6266929024";
    google_ad_width = 728;
    google_ad_height = 90;
    //-->
    </script>
    <script src='http://pagead2.googlesyndication.com/pagead/show_ads.js' type='text/javascript'>
    </script>
    <head>
    but google ads not appear
     
    ostaz4u, Jun 13, 2009 IP
  2. hlw777

    hlw777 Active Member

    Messages:
    70
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    58
    #2
    It appears that you've place the google code above <head> tag, and I think that's your problem.

    Try to place it within the <head> and </head> tags.
     
    hlw777, Jun 13, 2009 IP
  3. pegasusteam

    pegasusteam Member

    Messages:
    14
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    38
    #3
    Actually it needs to be in the body of your content, not in the head section.
    Try putting the code in a text widget to show on your sidebar, or in your single.php file to show on single posts, if you are using Wordpress.
     
    pegasusteam, Jun 13, 2009 IP
  4. idccyou

    idccyou Guest

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Maybe it's on Maintenance
     
    idccyou, Jun 13, 2009 IP
  5. mds

    mds Active Member

    Messages:
    256
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #5
    Yes it's better in the body of your content, but it takes a little time before the first ads appear if you have just put the code on your page so you might have to wait.
     
    mds, Jun 13, 2009 IP
  6. ostaz4u

    ostaz4u Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    thank you for all
     
    ostaz4u, Jun 13, 2009 IP