Hello everybody. I've started migrating project from v13 to v2009. An I'm wondering what is the best practice to handle errors in v2009?
As for the v13 apility there was a possibility to see errors that happen by calling $adwordsUser->getFaultStack(); And for the v2009 I found that the only possibility to see the error - is to catch the Exception that is thrown by the 'get'/'mutate' methods. Looking on the returned SoapFault object, the error message is kinda "[EntityNotFound.INVALID_ID @ selector; trigger:'CampaignId: 473078790']" - this seems to me not very usefull when showing error message to the user. So can someone please explain, what is the best (or at least reasonable) way in new AdWords API to handle an errors and show them to the user? Regards, Kirill -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. 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 To unsubscribe from this group, send email to adwords-api+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.