Re: authtoken error

2014-06-11 Thread Fang Abel
I also encountered the same problem, you solve it? Marco T.於 2011年4月1日星期五UTC+8下午11時06分17秒寫道: Using the new v201101 php library I experienced this problem with sandbox: Failed to get authToken. Reason: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL

Re: authtoken error

2014-06-11 Thread Josh Radcliff (AdWords API Team)
Hi, Did you try the suggestions mentioned in the previous posts? Also, please note that the sandbox is no longer supported. Please use test accounts https://developers.google.com/adwords/api/docs/test-accounts instead. Cheers, Josh, AdWords API Team On Wednesday, June 11, 2014 5:15:32 AM

Re: authtoken error

2011-04-05 Thread Eric Koleda
Hi Marco, Was your code working previously or is the first time you are using the library? Did you enabled VERIFY_PEER in settings.ini? If so, did you also configure your certificates correctly? Best, - Eric Koleda, AdWords API Team -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also

Re: authtoken error

2011-04-05 Thread Marco T.
I experienced this error on the API version change in the developing stage. Keeping the old ini files, the API give fault. Fixed with CURLOPT_SSL_VERIFYPEER at false in the auth token class. Now with your hint is more clean. Thx Marco -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also

authtoken error

2011-04-01 Thread Marco T.
Using the new v201101 php library I experienced this problem with sandbox: Failed to get authToken. Reason: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Marco --

Re: PHP AuthToken error

2010-10-04 Thread stiggywigget
Just a note so as to not mislead anybody. Where I wrote: $new_token = $user-GetAuthToken(); // Now start over from the top, etc. Before requesting the new token I create a new $user but sending login email/pass. $user = new AdWordsUser(SEND EMAIL AND PASS); Then perform the same test. If

PHP AuthToken error

2010-10-04 Thread stiggywigget
I'm trying to implement something like this: 1. ClientLogin with email/pass - OK 2. Get AuthToken - OK 3. Use AuthToken for all requests - OK But when the AuthToken expires (simulated by setting it to an incorrect value) I get a SoapFault which has no public properties. I can't recover from it

Re: PHP AuthToken error

2010-10-04 Thread AdWords API Advisor
Hi, You can't get the email and password from the authtoken. You need to keep track of the user for which you are making call to do this. If you are using the AdWords API Php client library (http:// code.google.com/p/google-api-adwords-php/), then the AdWordsUser class can keep track of the email

Re: PHP AuthToken error

2010-10-04 Thread stiggywigget
Thanks. I'm not trying to get information from the token. I'm trying to handle the SoapFault that occurs when a token expires. I found a solution. $user = new AdWordsUser(SEND THE TOKEN HERE); try { // test using the CampaignService. $campaignService = $user-GetCampaignService('v201008');