Hi Sidd, The index in the failure result doesn't point to an operation stream, it points to the operation within a stream. To determine which operation stream to look in you need to count which operation stream result you are in, and then look in the corresponding operation stream. So if you are in the 3rd operation stream result and the failure result has an index of 5 then you need to look at the 5th operation in the 3rd operation stream.
Best, - Eric On Feb 9, 4:14 pm, sidd <sidd.da...@gmail.com> wrote: > Hi .. > > Thanks for your answer. Unfortunately, it's still unclear to me how > to extract the actual entity that failed. If I have the index into > the operation stream, how do I know which operation within that stream > failed? > > On Feb 9, 7:51 am, AdWords API Advisor <adwordsapiadvi...@google.com> > wrote: > > > > > Hi Sidd, > > > The FailureResult exists within an OperationStreamResult. There is a > > one-to-one correlation between OperationStreams and > > OperationStreamResults. The index in the field path of the error in > > the FailureResult is relative to the OperationStream that correlates > > to the current OperationStreamResult (try saying that three times > > fast). Let me know if you have any further questions. > > > Best, > > - Eric Koleda, AdWords API Team > > > On Feb 8, 6:02 pm, sidd <sidd.da...@gmail.com> wrote: > > > > Hello. > > > > I'm finding it a bit unclear how to extract the failed Operand in a > > > batch process. > > > > I see there is a FailureResult that contains a fieldPath. To which > > > operation stream does the index returned in the field path belong? > > > > Or in short, how do I extract the failed entity ID from an individual > > > batch failure result? > > > > Thanks, > > > sidd -- 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.