Re: AuthTokenException

2011-04-07 Thread kush
Hi all, Thank you very much. The solution you gave resolved my problem. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Y

Re: AuthTokenException

2011-04-06 Thread Evgeniy Bogdanov
You can solve your problem by editing file: src/Google/Api/Ads/Common/ Utils/CurlUtils.php Add to the method CreateSession 2 strings: curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); It will look like this: public static function CreateSession($url) {

Re: AuthTokenException

2011-04-05 Thread David Torres
Hi, 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, - David Torres, AdWords API Team -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find u