Batch job was processed partially but got CANCELED status without downloadUrl and processingErrors

310 views
Skip to first unread message

Ilya Isakov

unread,
Jan 19, 2016, 8:59:13 AM1/19/16
to AdWords API Forum
Batch job with id 1139681 is in status CANCELED now.

There were operations for adding new adgroups into campaign with adwords id 429813129.

BatchJobService->get method returns empty downloadUrl and empty processingErrors:

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
      <requestId>000529a0848cdea00ac48e21d80c9376</requestId>
      <serviceName>BatchJobService</serviceName>
      <methodName>get</methodName>
      <operations>1</operations>
      <responseTime>259</responseTime>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
      <rval>
        <totalNumEntries>1</totalNumEntries>
        <Page.Type>BatchJobPage</Page.Type>
        <entries>
          <id>1139681</id>
          <status>CANCELED</status>
          <progressStats>
            <numOperationsExecuted>0</numOperationsExecuted>
            <numOperationsSucceeded>0</numOperationsSucceeded>
            <estimatedPercentExecuted>0</estimatedPercentExecuted>
            <numResultsWritten>0</numResultsWritten>
          </progressStats>
        </entries>
      </rval>
    </getResponse>
  </soap:Body>
</soap:Envelope>

But next batch job with id 1141865 with same add operations completed with duplicate adgroup names errors.

It means that adgroups were added by batch job 1139681.

Could you please take a look why batch job 1139681is in CANCELED status?

Ilya Isakov

unread,
Jan 19, 2016, 2:36:23 PM1/19/16
to AdWords API Forum
Any news here?

Ilya Isakov

unread,
Jan 21, 2016, 1:29:18 AM1/21/16
to AdWords API Forum
Up. The problem exists and I believe solution will be helpful for others who use BatchJobService for managing huge campaigns. Dear colleagues from  

AdWords API Team please take a look at this.


вторник, 19 января 2016 г., 16:59:13 UTC+3 пользователь Ilya Isakov написал:

GD

unread,
Jan 21, 2016, 9:08:59 AM1/21/16
to AdWords API Forum
We also have this problem.

Answers are in the form below, which is not very helpful as to why it failed. Started seeing this recently.

(BatchJob){
   id = 1147040
   status = "CANCELED"
   progressStats =
      (ProgressStats){
         numOperationsExecuted = 5000
         numOperationsSucceeded = 5000
         estimatedPercentExecuted = 49
         numResultsWritten = 5000
      }
 },

Anash P. Oommen (AdWords API Team)

unread,
Jan 21, 2016, 10:42:03 PM1/21/16
to AdWords API Forum
HI Ilya, GD,

Apologies for the delay, I'll ask the team to take a look at the issue.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

Ilya Isakov

unread,
Jan 25, 2016, 3:01:27 PM1/25/16
to AdWords API Forum
Hi Anash,

Thanks for reply,

Any news about this issue?

I'm still catching same situations.

Best,
Ilya

пятница, 22 января 2016 г., 6:42:03 UTC+3 пользователь Anash P. Oommen (AdWords API Team) написал:

Anash P. Oommen (AdWords API Team)

unread,
Jan 27, 2016, 1:30:59 PM1/27/16
to AdWords API Forum
Hi Ilya,

We've identified the issue at our end, but a fix is still in progress.

Cheers,
Anash

Chirag

unread,
Jan 29, 2016, 9:17:10 AM1/29/16
to AdWords API Forum
Hello Anash,

I have run the batch job service for my test account.
It is giving me Job status as DONE. but when I have looked at the Account the CPC was not changed.

While looking at the poll request getting this message.
Batch job ID 1185282 has status 'DONE'
Operation [0] - FAILURE Operation [1] - FAILURE Operation [2] - FAILURE Operation [3] - FAILURE

Can you please look into this?

Thanks

Anash P. Oommen (AdWords API Team)

unread,
Jan 29, 2016, 4:45:13 PM1/29/16
to AdWords API Forum
Hi Chirag,

Looks like you are sending the AdGroup ID in <adGroupId></adGroupId> node instead of an <id></id> node. See https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupService.AdGroup for the possible fields of an ad group.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

Chirag

unread,
Jan 30, 2016, 3:50:38 AM1/30/16
to AdWords API Forum
Hello Anash,

Thanks for pointing this out, will try to add id and let you know.
Actually I have try the example under PHP client library and understood incorrectly.

Thanks Again.

GD

unread,
Mar 22, 2016, 6:58:25 AM3/22/16
to AdWords API Forum
Hi Anash!

I dont know if this is still the same error, but we are getting a lot (sometimes up to 75%) of jobs CANCELED. The responses look like below (the IDs are from the API). Is there something wrong with our submissions (even though they seem to fail or succeed randomly), or is there a workaround?

{5055492L: [(BatchJobProcessingError){
   fieldPath = None
   trigger = "BatchJob internal error"
   errorString = "BatchJobProcessingError.UNKNOWN"
   ApiError.Type = "BatchJobProcessingError"
   reason = "UNKNOWN"
 }], 5056137L: [(BatchJobProcessingError){
   fieldPath = None
   trigger = "BatchJob internal error"
   errorString = "BatchJobProcessingError.UNKNOWN"
   ApiError.Type = "BatchJobProcessingError"
   reason = "UNKNOWN"
 }], 5039882L: [(BatchJobProcessingError){
   fieldPath = None
   trigger = "BatchJob internal error"
   errorString = "BatchJobProcessingError.UNKNOWN"
   ApiError.Type = "BatchJobProcessingError"
   reason = "UNKNOWN"
 }], 5054988L: [(BatchJobProcessingError){
   fieldPath = None
   trigger = "BatchJob internal error"
   errorString = "BatchJobProcessingError.UNKNOWN"
   ApiError.Type = "BatchJobProcessingError"
   reason = "UNKNOWN"
 }]


вторник, 19 января 2016 г., 16:59:13 UTC+3 пользователь Ilya Isakov написал:
Batch job with id 1139681 is in status CANCELED now.
Reply all
Reply to author
Forward
0 new messages