BatchJob Cancelled Unknown / Internal Error

141 views
Skip to first unread message

goingdev

unread,
May 17, 2016, 1:02:47 PM5/17/16
to AdWords API Forum
I have jobs that get cancelled

Error: BatchJobProcessingError.UNKNOWN, FieldPath: , Trigger: BatchJob internal error

All my jobs have a max of 2,000 operations.

One example is job ID 142232633.

Why did this job get cancelled?

Michael Cloonan (AdWords API Team)

unread,
May 17, 2016, 2:15:34 PM5/17/16
to AdWords API Forum
Hello,

What percentage of your batch jobs are failing this way, with UNKNOWN errors? Is it just this one or are there many others?

The general best practice to do in cases like this is to simply retry the batch. If this is happening more consistently, however, I may be able to take a closer look. Can you provide a few more example batch jobs?

Regards,
Mike, AdWords API Team

goingdev

unread,
May 25, 2016, 12:50:59 PM5/25/16
to AdWords API Forum
I'm getting a lot of jobs cancelled. Do you want the IDs?

goingdev

unread,
May 25, 2016, 12:52:18 PM5/25/16
to AdWords API Forum
Here's a couple:
201789809
201716220
201735163
201738985
201788441
201788360
201786830
201785942
201716436

Nadine Sundquist (AdWords API Team)

unread,
May 26, 2016, 11:29:26 AM5/26/16
to AdWords API Forum
Hi,

Thanks for providing the batch job IDs. Could you please click Reply privately to author in the forum and send me your customer ID as well where these batch jobs are being run? That way I can look up further information on each job.

Thanks,
Nadine, AdWords API Team

Stefano Fontana

unread,
May 27, 2016, 5:01:35 AM5/27/16
to AdWords API Forum
Hi, 

Same here. Retrying the job doesn't help.
Sending each type of operation in a separate job works though.

I digged a bit more by mixing the different types of operations and I found that creating a batch job with with these two operations always makes the batchjob fail (in my particular case):

{u'AdGroupCriterionOperation':
     [{u'operator': u'SET',
       u'operand': {u'biddingStrategyConfiguration': {
           u'bids': [{u'bid': {u'microAmount': '1200000'}, u'xsi_type': u'CpcBid'}]},
           u'adGroupId': u'21329742443', u'criterion': {u'id': u'188722430705'},
           u'xsi_type': u'BiddableAdGroupCriterion'},
       u'xsi_type': u'AdGroupCriterionOperation'}],

 u'AdGroupCriterionLabelOperation':
     [{u'operator': u'REMOVE',
       u'operand': {u'adGroupId': u'11205179483', u'criterionId': u'70136100181',
                    u'labelId': 42329003, u'xsi_type': u'AdGroupCriterionLabel'},
       u'xsi_type': u'AdGroupCriterionLabelOperation'}]
 }

Hope this helps you debugging it.

goingdev

unread,
May 27, 2016, 10:56:20 AM5/27/16
to AdWords API Forum
There's only been 1 type of operation in each of my jobs, but thanks for the try ;)

goingdev

unread,
Jun 15, 2016, 10:00:09 AM6/15/16
to AdWords API Forum
Any update on this? 

Josh Radcliff (AdWords API Team)

unread,
Jun 15, 2016, 12:17:02 PM6/15/16
to AdWords API Forum
Hi,

If you are still encountering this issue, please send over the BatchJob.id of the failed job, and I'll take a look.

Thanks,
Josh, AdWords API Team

goingdev

unread,
Jun 27, 2016, 9:44:08 AM6/27/16
to AdWords API Forum
Yes, I am still randomly getting these failed jobs. Here's a few.

286601245
286584141
286584189
286580784
286572082

Josh Radcliff (AdWords API Team)

unread,
Jun 27, 2016, 11:17:59 AM6/27/16
to AdWords API Forum
Hi,

Thanks for the job IDs. I am investigating those failures and will get back to you as soon as I have more information.

Best regards,
Josh, AdWords API Team

goingdev

unread,
Jul 5, 2016, 10:13:02 AM7/5/16
to AdWords API Forum
Any update please?

Michael Cloonan (AdWords API Team)

unread,
Jul 6, 2016, 10:06:31 AM7/6/16
to AdWords API Forum
Hello,

For the IDs you provided, engineering has identified two specific issues that are causing failures and are currently working on fixes that will address each of them. We will update this thread with information once the fixes are ready.

Regards,
Mike, AdWords API Team

Nadine Sundquist (AdWords API Team)

unread,
Oct 7, 2016, 11:43:42 AM10/7/16
to AdWords API Forum
Hello Everyone,

The issues have been fixed. Can you please verify that everything looks good?

Thanks,
Nadine, AdWords API Team
Reply all
Reply to author
Forward
0 new messages