Hi All, You can run examples from the command line by installing the CLI version of PHP and executing "php GetCampaigns.php".
Best, - Eric On Tuesday, February 28, 2012 2:26:02 AM UTC-5, Chirag wrote: > > Hi Eric, > I am running example from web server. > > Thanks, > chirag > > On Tuesday, February 28, 2012 2:53:45 AM UTC+5:30, Eric Koleda wrote: >> >> Hi Chirag, >> >> Are you running these examples from the command line or a web server? >> >> Best, >> - Eric >> >> On Sunday, February 26, 2012 11:28:03 PM UTC-5, Chirag wrote: >>> >>> Hello Eric, >>> >>> I am also getting :- >>> realpath($_SERVER['PHP_SELF']) is empty. >>> >>> Thanks, >>> chirag >>> >>> On Friday, February 24, 2012 9:22:16 PM UTC+5:30, Eric Koleda wrote: >>>> >>>> Hi Vipin, >>>> >>>> It's strange that realpath() isn't working correctly on that relative >>>> path. For now it's fine to just comment out those lines. >>>> >>>> Regarding the OAuth problems, are you running the example in a web >>>> browser or on the command line? The example required user input, so it >>>> must be run from the command line. >>>> >>>> Best, >>>> - Eric >>>> >>> >>> On Friday, February 24, 2012 9:22:16 PM UTC+5:30, Eric Koleda wrote: >>>> >>>> Hi Vipin, >>>> >>>> It's strange that realpath() isn't working correctly on that relative >>>> path. For now it's fine to just comment out those lines. >>>> >>>> Regarding the OAuth problems, are you running the example in a web >>>> browser or on the command line? The example required user input, so it >>>> must be run from the command line. >>>> >>>> Best, >>>> - Eric >>>> >>> -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en