When can we see this blog post ? There are no good examples of how to
parse the errors out . I also see more operations per part as i ve
scheduled which is really confusing.

Achal

On Mar 30, 7:49 am, AdWords API Advisor <[email protected]>
wrote:
> Hi Alexey,
>
> We'll be publishing a blog post on this shortly, but here is the basic
> information:
>
> - Operations are processed in batches.  If one operation of the batch,
> the entire batch isn't committed.
> - The first result in a failed batch will always be a FailureResult.
> This result will contain all the ApiErrors of the batch.
> - The fieldPath of the ApiErrors will indicate the position of the
> operation relative to the batch.  So operations[0] is the first
> operation of the batch, not the first operation of the operation
> stream.
> - For a BatchFailureResult will be placed in theresultsas a filler
> for every other operation in the batch.
>
> Also, the order of operations should be preserved, so let us know if
> you see otherwise.
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Mar 29, 6:18 am, Alexey Dementyev <[email protected]> wrote:
>
> > Hello, please,
> > can google API processing change operations positions in failed
> > stream? I mean, when i'm sending new JOB to BulkMutateService with 1
> > part, 1 stream and 5 different actions in first stream:
> >  1. updateCriterion
> >  2. updateAdGroup
> >  3. updateAdCampaign
> >  4. updateAdGroupAd
> >  5. updateAdGroup
> > and getting error in operation 4, GetBulkMutateJobService response to
> > JOBresultscontaining something like:
> > BulkMutateJob {
> >   result => BulkMutateResult {
> >      operationStreamResults => array (
> >           [0] => OperationStreamResult {
> >                [operationResults] => array (
> >                    [0] => FailureResult
> >                    [1] => BatchFailureResult
> >                    [2] => BatchFailureResult
> >                    [3] => BatchFailureResult
> >                    [4] => BatchFailureResult
> >                 )
> >            }
> >        )
> >    }
>
> > Why answer contains only oneFailureresult, not 5results( like 5
> > sended operations ) ?
> > If its alrights, should i just parse
> >  case => errors => fieldPath
> > in first FailureResult, like "[fieldPath] =>
> > operations[0].operand.name"
> > and failed operation will be index in first node operations[index] ?
>
> > Also, will fieldPath contain "index" to failed operations positions
> > due to sending order
> >  1. updateCriterion
> >  2. updateAdGroup
> >  3. updateAdCampaign
> >  4. updateAdGroupAd
> >  5. updateAdGroup
> > ? As i can see, while parsing fieldPath, i'm getting errors in
> > different order:
> >  operations[0] => updateAdCampaign
> >  operations[1] => updateAdGroup
> >  operations[2] => updateAdGroup
> >  operations[3] => updateAdGroupAd
> >  operations[4] => updateCriterion
> > which rules failureResult operations sorting with ?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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 [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

Reply via email to