Re: adwords report downloads through OAuth

2015-05-11 Thread Thanet Knack Praneenararat (AdWords API Team)
Hi, This thread is quite old and may not get updated with the current version of our client libraries. Could you please pose a new question together with the details of your problem and environments (e.g., PHP version, CLI or web server, client lib version)? Cheers, Thanet, AdWords API Team O

Re: adwords report downloads through OAuth

2015-05-08 Thread aah ppc
Having the same issue - did anyone resolve this? (works on command line but not on web server) On Wednesday, February 29, 2012 at 5:16:16 AM UTC, Chirag wrote: > > Hi Eric, > > We can able to run example from Command line but we are facing issue when > we are not able implementing new examples

Re: adwords report downloads through OAuth

2012-02-28 Thread Chirag
Hi Eric, We can able to run example from Command line but we are facing issue when we are not able implementing new examples with code. if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { return; } Thanks, Chirag On Wednesday, February 29, 2012 1:52:21 AM UTC+5:30, Eric Koleda wrote: > > Hi All

Re: adwords report downloads through OAuth

2012-02-28 Thread Eric Koleda
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, Febr

Re: adwords report downloads through OAuth

2012-02-27 Thread Chirag
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, Chira

Re: adwords report downloads through OAuth

2012-02-27 Thread vipin
Hello Eric, I am running this from web server. How can I run from command line? Thanks, Vipin On Tuesday, 28 February 2012 02:53:45 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,

Re: adwords report downloads through OAuth

2012-02-27 Thread Eric Koleda
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

Re: adwords report downloads through OAuth

2012-02-26 Thread Chirag
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 t

Re: adwords report downloads through OAuth

2012-02-24 Thread Eric Koleda
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

Re: adwords report downloads through OAuth

2012-02-23 Thread vipin
Hello Eric, My php version is PHP Version 5.2.17 I can download report using email and password. But auth and Oauth I am not getting any output. Printing $_SERVER['PHP_SELF'], i am getting file path without document root. Thanks, Vipin -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Re: adwords report downloads through OAuth

2012-02-23 Thread vipin
Hello Eric, First of all I am not getting any logs. I didn't include the code in any other files. I have printed the values of __FILE__ and realpath($_SERVER['PHP_SELF']) __FILE__ - I am getting full path to the file from document root and realpath($_SERVER['PHP_SELF']) - getting empty. Pl

Re: adwords report downloads through OAuth

2012-02-23 Thread Eric Koleda
Hi Vipin, Have you had any success using the other example (using ClientLogin aka auth tokens?). What is in the variable $_SERVER['PHP_SELF']? What version of PHP are you using? Best, - Eric -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: h

Re: adwords report downloads through OAuth

2012-02-23 Thread Eric Koleda
Hi Vipin, The internal server error could have many causes. Is a request ID returned in the SOAP response? In regards to the PHP code you commented out, it's there to prevent the code from running when it's being included. Are you including the code from another file? If not, can you print

Re: adwords report downloads through OAuth

2012-02-20 Thread Vtrio Develop
Hello Danial, Thank you very much for your reply. Can I do it with sandbox account? I have created oauth_consumer_key and oauth_consumer_secret using my domain. And I added the values here $oauthInfo = array('oauth_consumer_key' => 'anonymous','oauth_consumer_secret' => 'anonymous'); Afte

Re: adwords report downloads through OAuth

2012-02-20 Thread Danial Klimkin
Hi Vipin, The examples were re-organized since this blog post went live. You can find it here: http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201109/Misc/UseOAuth.php -Danial, AdWords API Team. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find u

adwords report downloads through OAuth

2012-02-18 Thread Vtrio Develop
Hello all, I can't find the adwords report downloads through OAuth php script. Please anyone help me. here http://adwordsapi.blogspot.in/2011/10/adwords-api-now-fully-supports-oauth.html php link directing to page not found page. Please anyone help. Thanks,