Hi Antoni,
Thank you for raising this to us.
According to this Usage flow (under Canceling a batch job section), there should be an existing/running batch job before actually cancelling it. Looking on the CancelOperationRequest, it should have a name of the operation resource to be cancelled.
As for this statement: "As I see in v6 there was an option to remove pending BatchJob but it has been deprecated since then.", could you provide more details on this?
Regards,
|
||||||
Hi Antoni,
Thank you for reaching out. You could cancel the unwanted operations by using the CancelOperation. The resource names could be obtained from the returned value while creating the new batch job. If you don’t explicitly run the created batch jobs, they will not be executed. The “pending” jobs would be counted in quota and if they are older than 7 days they would be automatically removed.
Thanks and regards,
Xiaoming, Google Ads API Team
|
||||||
Hi Antoni,
Thank you for reaching out. Only the job that has been started could be cancelled. Please follow this guide on how to cancel a batch job.
Thanks and regards,
Xiaoming, Google Ads API Team
|
||||||