Re: API Fatal Error. We Need Help.
Hi, You could catch the exception and do appropriate error handling. PHP supports exception handling, see http://php.net/manual/en/language.exceptions.php in case you aren't familiar with it. Cheers, Anash P. Oommen, AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Re: API Fatal Error. We Need Help.
When we make an inquiry with a wrong client we get this error; Fatal error: Uncaught SoapFault exception: [soap:Server] AuthenticationError.CLIENT_EMAIL_INVALID @ ; trigger:'...@gmail.com' Service[CampaignService.get] in / /src/Google/Api/Ads/Common/Lib/AdsSoapClient.php: 177 Stack trace: #0 //src/Google/Api/Ads/Common/ Lib/AdsSoapClient.php(177): SoapClient->__soapCall('get', Array, NULL, Array, Array) #1 //src/Google/Api/Ads/AdWords/ v200909/cm/CampaignService.php(4303): AdsSoapClient->__soapCall('get', Array) #2 //api.php(155): CampaignService- >get(Object(AuthenticationError)) #3 // api.php(29): apiFunc() #4 {main} thrown in //src/ Google/Api/Ads/Common/Lib/AdsSoapClient.php on line 177 On Mar 15, 3:20 pm, AdWords API Advisor wrote: > Hi, > > Is it that the script is terminating when the error occurs? Is your error > log showing any exceptions being thrown by PHP itself? > > Cheers, > Anash P. Oommen, > AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Re: API Fatal Error. We Need Help.
Hi, Is it that the script is terminating when the error occurs? Is your error log showing any exceptions being thrown by PHP itself? Cheers, Anash P. Oommen, AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
API Fatal Error. We Need Help.
We use PHP Client Library for API In an inquiry, it gives out Fatal Error and stops the process when the client e-mail address is wrong. All the page is being terminated and can not continue to the remaining processes. How can we understand if the client address is true or not? Note: We receive Fatal Error message even when we use Authentication Error. For example: $selector = new CampaignSelector(); $page = $campaignService->get($selector); or $error_report = new AuthenticationError(); $page = $campaignService->get($error_report); -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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