Hi Kyle, Order is maintained between operations and results, so you can use a form of logic like you outlined.
Best, - Eric Koleda, AdWords API Team On Feb 1, 6:38 pm, Kyle LeNeau <[email protected]> wrote: > Hello, > > I am developing a process to bulk add/purchase keywords. I need to > maintain what is added and what I need to add or save to my database. > Will the operations that I send in the mutate request be returned to > me in the same order as I sent them (based on index)? Here is my code > and expectation. > > m_adGroupCriterionService.mutate(new AdGroupCriterionOperation[] > { operation1, operation2 }); > if (result != null && result.value != null && result.value.Length > 0) > { > // expecting: > // result.value[0] = operation1 > // result.value[1] = operation2 > > } > > Thanks, > Kyle LeNeau -- 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.
