BatchJob Canceled Status

52 views
Skip to first unread message

Jbielsa

unread,
Nov 4, 2015, 9:01:12 AM11/4/15
to AdWords API Forum
Good Morning.

When using the new service for BatchJob, and a batchJob finishes on Canceled Status, I can't retrieve the results in order to find errors occurred.
I use Adwords client library v201509 for .Net

Below the steps I follow:


  1.- Get status of BatchJob  <-- CANCELED

  2.- The list of processingErrors is always empty (nothing within the object)

  3.- Using the object BatchJobUtilities and the method Download with downloadUrl <-- Result is an Exception with "Invalid Primitive JSON"


When the BatchJob finishes correctly (DONE), the method BatchJobUtilities.Download(downloadUrl) works correctly.

I would appreciate it if you could give me some support regarding the above mentioned.

Thanks a lot.





Umesh Dengale

unread,
Nov 4, 2015, 3:20:19 PM11/4/15
to AdWords API Forum
Hello,

The BatchJob with CANCELED status means an error occurred while BatchJobService was attempting to parse the uploaded operations. The download URL will return a mutateResult element for every uploaded operation. The each result will have attributes result, errorList, index. Please check the errorList, this will have one or more errors elements if an operation failed. Please check download the batch job results and check for error section from Batch Processing guide for more details. 
Please provide detailed error message from error list, clientCustomerId and jobId. Just click Reply privately to author in the forum when responding.

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