Hi Vijay, The base type ApiError only contains some basic information, and for more detail you need to cast the error to it's actual type, in this case AdGroupCriterionError:
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.AdGroupCriterionError.html This error type, and many others, contain a reason field. The associates reason values provide more information about what's gone wrong: http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.AdGroupCriterionError.Reason.html Best, - Eric Koleda, AdWords API Team On Jan 29, 9:31 pm, Vijay - Coremetrics <bhomb...@gmail.com> wrote: > The ApiError object in Google Adwords v2009 API has limited set of > fields (just 3 fields: fieldPath, trigger, and ApiError.Type). > > In case of API Error, these fields have limited information which is > not clear to interpret the error both interms of error code and error > message (or trigger). > > For example, one of the error messages looks like this: > > ApiErrorType: AdGroupCriterionError > fieldPath: operations[0].operand.criterion.id > trigger: > > There is no proper errorCode or errorMessage, as it used to be with > Adwords v13 API. > > Can you please explain how do we get a proper error message and error > code in case of API errors? Is there going to be any improvements made > in future on Adwords API side regarding this? -- 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.