Hi Ralph, The UNEXPECTED_INTERNAL_API_ERROR would come back as aw_api.Errors.GoogleInternalError. To trap and handle it you would do something like,
try: # api call except RequestError, e: # logic to handle request errors except GoogleInternalError, e: # logic to handle unknown api error The full mapping of error codes (v13) and types (v200909) can be found in http://code.google.com/p/google-api-adwords-python-lib/source/browse/trunk/aw_api/Errors.py#316. --Stan On Jan 6, 8:29 am, Ralph Heimburger <1stpo...@gmail.com> wrote: > Eric, thanks for the followup. > Another question: > > How do I code to trap for and unknown Api error, is it different than > RequestError? > > Here is my current code (python): > > #make Api Call > try: > ad_group_criteria=ad_group_criterion_service.Mutate > (operations)[0] > except RequestError, e: > ad_group_criteria={} > apiMessage=e.message
-- 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-...@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.