I am trying to create a very simple application developed on top of the sample from the GoogleAdwords PHP Library. The purpose of the application is to create a new AdWordsUser that tries to access the Campaign service. I have obtained the client_id, client_secret, access_token, refresh_token and filled all this data into the auth.ini file. However, when I run my test I am getting the following error:
Fatal error: Uncaught SoapFault exception: [soap:Server] [AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:''] in /home/kaosmic/www/adwords/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:216 Stack trace: #0 /home/kaosmic/www/adwords/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php(216): SoapClient->__soapCall('get', Array, NULL, Array, Array) #1 /home/kaosmic/www/adwords/src/Google/Api/Ads/AdWords/v201309/CampaignService.php(6208): AdsSoapClient->__soapCall('get', Array) #2 /home/kaosmic/www/adwords/tests/AdWordsIntegrationTest.php(77): CampaignService->get(Object(Selector)) #3 /home/kaosmic/www/adwords/tests/test.php(12): AdWordsIntegrationTest->testIntegrationCheckUserAgent() #4 {main} thrown in /home/kaosmic/www/adwords/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php on line 216 I have tried to regerate my authorization code and then the access token and refresh token but it's not working. Do you have any ideas about what to do next? Thank you. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.