Okay .. that helps ! Have one more question though .. I am trying to test failures in the sandbox environment by putting through mutate jobs I know will fail using the bulk service. My jobs stay 'Pending' though, and never seem to get processed. Is that normal behavior? Does a job that causes an error always stay pending?
On Feb 10, 7:44 am, AdWords API Advisor <[email protected]> wrote: > 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 <[email protected]> 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 <[email protected]> > > 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 <[email protected]> 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
