Hi Eric, What happens if one of the keywords fails to be added does the whole mutate request fail like batch transactions or will one fail at a time and return something else in the index place?
Thanks, Kyle On Feb 2, 9:28 am, AdWords API Advisor <adwordsapiadvi...@google.com> wrote: > 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 <k.len...@gmail.com> 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 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.