You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
Hi,
I was just wondering if there is a way to rollback a partially failed batch operation, for example, an batch operation that attempts to create an adgroup and set some criterion for that with the creation of adgroup successful but criterion set failed, is there an API to rollback like deleting the adgroup just created? Or I have to call each individual API one by one to revert those changes.
Thanks.
Vincent Racaza (AdWords API Team)
unread,
Apr 18, 2018, 1:41:16 AM4/18/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
Hi Gary,
There is no rollback feature for BatchJobService. As you can see in this guide, if there are failed operations due to some error such as RateExceededError, the BatchJobService will automatically retry the failed operations and commit the successful ones.
If you really wish to rollback the successful operations (e.g. creation of ad group) due to the failure of some dependent operations, then you can run another request that does this via their independent services (e.g. AdGroupService) or via the BatchJobService itself if you want to roll back/delete them in batch.