I'm looking for a way to remove Batch Jobs that haven't yet been run. 
There's a limit of 100 `pending` and `running` Batch Jobs per customer and 
I would like to know a way I can clear these Batch Jobs in case I ever need 
to. If I don't remove them and I create more than 100 Batch Jobs I get the 
`BATCH_JOBS_PER_CUSTOMER` error back from Google.

I explored different approaches:

1. `MutateBatchJobRequest` seems to only allow the creation of Batch Jobs 
and Batch Job Operations.
2. `LongRunningOperation` gives the option to Cancel or Remove a Batch Job 
that's running. I can't obtain the `LongRunningOperation` before running 
the Batch Job so it's not a solution either.
3. Tried to remove the Operations from an existing Batch Job in order to 
run the `empty` Batch Job and get rid of it. Couldn't get this to work 
because I can't remove Operations from a Batch Job.

Is there a known way to do it? Or if a Batch Job with incorrect operations 
is created and we don't want to run it, the only way to get rid of it is to 
wait 7 days for it to be removed systematically?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c3fa52b9-496f-4240-befe-80216fa653afn%40googlegroups.com.
  • Ho... Miquel Isern Roca
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
      • ... Miquel Isern Roca
        • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
          • ... Google Ads API and AdWords API Forum
            • ... Google Ads API and AdWords API Forum

Reply via email to