Adwords sandbox API via OAuth and PHP Library

2012-02-20 Thread Alex Pojarsky
Greetings, everyone. I have few nooby questions about the adwords sandbox API. Yes, I've searched the google and tried to check the docs as well as tried to run code examples provided along with PHP library. My setup is the following: 1. PHP Library provided by google: http://code.google.com/p/g

Re: Adwords sandbox API via OAuth and PHP Library

2012-02-20 Thread Vtrio Develop
Hello all, These are the issues I am facing and exactly these are the questions I want to ask. Please any one reply. Can we use Oauth with sandbox account? (Important question) Thanks, Vipin -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: h

Re: Adwords sandbox API via OAuth and PHP Library

2012-02-21 Thread Anash P. Oommen
Hi Alex, You could use anonymous/anonymous as OAuth key/secret for testing purposes. There is no need to register your website until you are ready to deploy your solution. When you use this key/secret, Google OAuth page will warn the user that you are not registered with Google, but other than

Re: Adwords sandbox API via OAuth and PHP Library

2012-02-24 Thread Alex Pojarsky
Hello. Thanks for the reply. But according to the http://code.google.com/apis/adwords/docs/sandbox.html#behavior - there is AuthToken required that received from the ClientAuth (not OAuth). How do you pass the developerToken while using OAuth authentication? Thanks. -- =~=~=~=~=~=~=~=~=~=~=

Re: Adwords sandbox API via OAuth and PHP Library

2012-02-28 Thread David Torres
Hi Alex. You pass the developerToken as part of the SOAP Headers inside your SOAP Envelope, in the case of PHP you need to set it in your auth.ini file. And you don't need to set email and password since your are using OAuth and not ClientAuth. Best, - David Torres - AdWords API Team On Fr

Re: Adwords sandbox API via OAuth and PHP Library

2012-02-28 Thread Alex Pojarsky
Makes sense, thanks. Will try. Вівторок, 28 лютого 2012 р., 20:56:53 UTC+2 користувач David Torres написав: > > Hi Alex. > > You pass the developerToken as part of the SOAP Headers inside your SOAP > Envelope, in the case of PHP you need to set it in your auth.ini file. And > you don't need to s

Re: Adwords sandbox API via OAuth and PHP Library

2012-03-06 Thread Alex Pojarsky
Still no chance. Same error. Any other ideas? Thanks. Середа, 29 лютого 2012 р., 00:30:26 UTC+2 користувач Alex Pojarsky написав: > > Makes sense, thanks. Will try. > > Вівторок, 28 лютого 2012 р., 20:56:53 UTC+2 користувач David Torres > написав: >> >> Hi Alex. >> >> You pass the developerToken

Re: Adwords sandbox API via OAuth and PHP Library

2012-03-16 Thread Alex Pojarsky
Hello. That was fixed. You have to pass the auth token via $user->SetAuthToken($config->oauth_token); But now I keep getting the GOOGLE_ACCOUNT_COOKIE_INVALID error, which is also not really descriptive and can happen in many cases. How would you debug it to see what exactly the problem is? T

Re: Adwords sandbox API via OAuth and PHP Library

2012-03-19 Thread Eric Koleda
Hi Alex, Have you been able to run the UseOAuth.php example successfully against the sandbox? http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201109/Misc/UseOAuth.php You may also want to try setting up the sample webapp, which uses the following login page for OA