Cancel/Stop BatchJob stuck in RUNNING state

41 views
Skip to first unread message

Lorenzo Scortichini

unread,
May 11, 2022, 6:19:26 AM5/11/22
to Google Ads API and AdWords API Forum
Hello,
like others, we're facing many BatchJobs stuck in RUNNING state for a long time. 
At this point, we're looking for a way to stop/cancel a running Batch.
Looking up the documentation (especially the Usage flow), I wonder if this is possible.
Tried using BatchJobServiceClient's CancelOperation and DeleteOperation on the LongRunningOperation I always receive UNIMPLEMENTED.

TLDR : 
Is there a way to abort a BatchJob running?
If not after how long are those running batches discarded by the API?

Kind regards

Lorenzo
 

Google Ads API Forum Advisor

unread,
May 11, 2022, 12:43:02 PM5/11/22
to l.scor...@doveconviene.com, adwor...@googlegroups.com
Hi Lorenzo,

Thanks for reaching out. We are currently investigating the issue related to long running batch jobs. You can make a CancelOperationRequest to cancel long running jobs. 

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2armWy:ref

Google Ads API Forum Advisor

unread,
Jul 8, 2022, 12:27:26 PM7/8/22
to l.scor...@doveconviene.com, adwor...@googlegroups.com
Hello,

To correct the previous post, cancellation for batch jobs in a RUNNING state is not supported. As of version 10.1, batch jobs in a PENDING state may be removed.

Regards,
Reply all
Reply to author
Forward
0 new messages