Help me Plz - Any PHP Expert?

Discussion in 'Google API' started by seodelhi, Feb 15, 2006.

  1. #1
    seodelhi, Feb 15, 2006 IP
  2. eKstreme

    eKstreme Guest

    Messages:
    131
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    For starters, did you change the line that says:

    $token = "<token>developer_token_here</token>";
    Code (markup):
    to include your actual Google API key?

    Another thing to check is that you have nusoap.php in the same directory. You can get it from here.
     
    eKstreme, Feb 16, 2006 IP
  3. jimkarter

    jimkarter Notable Member

    Messages:
    5,168
    Likes Received:
    347
    Best Answers:
    0
    Trophy Points:
    235
    #3
    Also made sure you are not asking more than 10 results at a time else it may not work.
     
    jimkarter, Feb 16, 2006 IP
  4. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #4
    Did you download and include nusoap.php?
     
    noppid, Feb 16, 2006 IP
  5. seodelhi

    seodelhi Active Member

    Messages:
    882
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    70
    #5
    Ultimately i got it work, but am having a weird situation now.

    In the sample code for traffic estimation
    http://www.google.com/apis/adwords/samples/php/keywordEstimateDemo.php.txt

    google has set a max cpc of 50000, whenever i reduce it to 50 or even 5000, the program does not work and gives the output 'cpc out of range'

    I am clueless why cant it work for a lesser CPC.
     
    seodelhi, Feb 16, 2006 IP
  6. casonova

    casonova Active Member

    Messages:
    183
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    81
    #6
    hi,

    Seeing this code i also tried but its not working the api is in place

    $email = "<email>youremail@yourcompany.com</email>";which email?
    $password = "<password>yourpassword</password>";which pass word?
    $userAgent = "<useragent>YOURCOMPANY -- PHP Traffic Estimator Demo</useragent>";what do we put here?
    $token = "<token>developer_token_here</token>";google api here

    plz help me

    thanks
    susomoy sinha
    www.mstechno.com:)
     
    casonova, Apr 25, 2006 IP
  7. casonova

    casonova Active Member

    Messages:
    183
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    81
    #7
    hi,

    Seeing this code i also tried but its not working the api is in place

    $email = "<email>youremail@yourcompany.com</email>";which email?
    $password = "<password>yourpassword</password>";which pass word?
    $userAgent = "<useragent>YOURCOMPANY -- PHP Traffic Estimator Demo</useragent>";what do we put here?
    $token = "<token>developer_token_here</token>";google api here

    require_once('nusoap.php');in same folder


    plz help me

    thanks
    susomoy sinha
    www.mstechno.com:)
     
    casonova, Apr 25, 2006 IP