Hi, I'm not aware of any changes around this logic in v201502. Populating the ad group ID in the error has always been done on a best-efforts basis, so there hasn't been a guarantee that this will always occur.
If the ad group ID is critical to your processing, it would be more reliable to use the operations index (38 in your example) to look up the corresponding operation in your mutate job request, and then use the ad group ID contained in that operation. Thanks, Josh, AdWords API Team On Wednesday, June 3, 2015 at 11:15:11 AM UTC-4, Janak Prajapati wrote: > > Hi, > > We have migrated to v201502 recently and we noticed that, when we get > DUPLICATE_ADGROUP_NAME error through MutateJobService, the error detail not > including respective Adgroup ID. In the earlier API versions, we were > getting Adgroup ID along with the DUPLICATE_ADGROUP_NAME error. > > Here is part of the Soap response with v201502, > > <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:type="AdGroupServiceError"> > <fieldPath>operations[38].operand.name</fieldPath> > <trigger>Adgroup Name Here</trigger> > <errorString>AdGroupServiceError.DUPLICATE_ADGROUP_NAME</errorString> > <ApiError.Type>AdGroupServiceError</ApiError.Type> > <reason>DUPLICATE_ADGROUP_NAME</reason> > </errors> > > The Adgroup ID in the error notification was very helpful for our > automated script so, wanted to confirm about this change. With this change, > we need to made a separate API call to get Adgroup ID of the duplicate > adgroup so that, the automated script can continue insertion of Keywords > and Ads in the same adgroup. > > Please confirm, is this a bug in v201502 or a permanent change? > > > Thanks > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/80c12669-d133-4542-adee-c5a5e80c312e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
