Re: Rollback batch operation if there is a failure

2018-04-17 Thread 'Vincent Racaza (AdWords API Team)' via 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.

Thanks,
Vincent
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+unsubscr...@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+unsubscr...@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/bdb77210-dcc5-475a-a603-660e0f1bbd92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Rollback batch operation if there is a failure

2018-04-17 Thread Gary Jiang
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.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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+unsubscr...@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+unsubscr...@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/4aa1b6f3-763e-4895-86cb-8b43bb14bcc0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.