Adsense code help

Discussion in 'AdSense' started by Nick_Mayhem, Dec 10, 2007.

  1. #1
    Hello,

    I am trying to create firefox referral ads from my google adsense account.

    I created one and the code says:

    <script type="text/javascript"><!--
    google_ad_client = "pub-XXXXXXXXX";
    //468x60, created 10/12/07
    google_ad_slot = "XXXXXXXX";
    google_ad_width = 468;
    google_ad_height = 60;
    google_cpa_choice = ""; // on file
    //--></script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script> 
    Code (markup):
    Now I don't know why it is not displaying the ads on my page itself.

    Should I put something in the google_cpa_choice? Which says on file.

    I have applied this ads on the header in http://www.hotappz.com If someone would like to see that how it is not displaying the proper ads.

    Thanks.
     
    Nick_Mayhem, Dec 10, 2007 IP
  2. Fka200

    Fka200 Guest

    Best Answers:
    0
    #2
    google_cpa_choice = ""; // on file this might be the problem. Regenerate the ad and see if that one works.
     
    Fka200, Dec 10, 2007 IP
  3. Nick_Mayhem

    Nick_Mayhem Notable Member

    Messages:
    3,486
    Likes Received:
    338
    Best Answers:
    0
    Trophy Points:
    290
    #3
    Yes I generated 3 times Still it is showing Nothing in that line. :(
     
    Nick_Mayhem, Dec 10, 2007 IP
  4. lapsaJ

    lapsaJ Peon

    Messages:
    1,058
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I'm having the same problem - did you get it sorted Nick?
     
    lapsaJ, Dec 17, 2007 IP
  5. Nick_Mayhem

    Nick_Mayhem Notable Member

    Messages:
    3,486
    Likes Received:
    338
    Best Answers:
    0
    Trophy Points:
    290
    #5
    Yes friend. It was that I was substituting " with \" to echo it out from PHP but then it hit me that the section where it is being printed is not in PHP but pure HTML so there was no need for \" but just " would do.

    So it is fixed now.

    Thanks.
     
    Nick_Mayhem, Dec 17, 2007 IP
  6. lapsaJ

    lapsaJ Peon

    Messages:
    1,058
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hmm...I just changed my page to .php instead of .html and it works now. Strange, but at least we've got it working!
     
    lapsaJ, Dec 18, 2007 IP