Hi David,

In case you haven't seen it yet, we published an article on our blog that 
covers BMJS error handling in some detail:

http://adwordsapi.blogspot.com/2010/04/discover-v2009-error-handling-in.html

The basic answer to your question is that for failures, the position of the 
results is not relevant.  All errors for all operations in a batch will be 
held in the FailureResult, which is always the first result in a batch. 
 Just as the first operation in that batch may have been valid, so there may 
be invalid operations that have BatchFailureResults in their corresponding 
indices.  The basic algorithm for handling these errors should be:

1) Determine the size of the batch (all the operations from FailureResult to 
the last BatchFailureResult)
2) Remove all operations that have errors (looking at the errors in the 
FailureResult, which are indexed relative to the start of the batch)
3) Retry the remaining operations

Best,
- Eric Koleda, AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to