Tuesday, 21 June 2016

Re: Exemption request via BatchJob?

Hi Christian,

Since the BatchJob might contain other operations which could have succeeded, reusing the temporary IDs will result in an ENTITY_NOT_FOUND 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

For a regular mutate operation you would send the request with the validateOnly header 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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
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 adwords-api+unsubscribe@googlegroups.com.
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.

No comments:

Post a Comment