Hi Christian, Since the BatchJob might contain other operations which could have succeeded, reusing the temporary IDs will result in an ENTITY_NOT_FOUND <https://developers.google.com/adwords/api/docs/common-errors#EntityNotFound> error. The operations which did succeed will have a valid identifier. You would need to parse the batch job results to find the policy violation error and keep track of the AdGroupId and/or CampaignId associated with it. The results are returned in the same order in which you pass them in the request. You could map the Ids of the entities to the index of the BatchJob results <https://developers.google.com/adwords/api/docs/guides/batch-jobs#download_the_batch_job_results_and_check_for_errors> .
For a regular mutate operation you would send the request with the validateOnly header <https://developers.google.com/adwords/api/docs/guides/call-structure#request_headers> set to true to check if the operations passed would result in any error, rectify the errors when possible and retry the operation. Regards, Shwetha, AdWords API Team. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/fabe8307-8c22-4cf2-a12c-5fde17c8566c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
