Why around 10% of all batch jobs fails with "Unknown reason"?

183 views
Skip to first unread message

Justinas Ringaila

unread,
Jul 7, 2016, 10:42:13 AM7/7/16
to AdWords API Forum
Hi, 
As you can see in the title around 10 % of our batchobs returns this:
{
    "CustomerId" : "XXXXXX",
    "GoogleBatchJobId" : NumberLong(322307760),
    "CreationDate" : ISODate("2016-07-07T14:26:34.438Z"),
    "JobStatus" : "Failed",
    "LastStatusCheck" : ISODate("2016-07-07T14:31:07.655Z"),
    "RetryCount" : 3,
    "Reason" : "Status Error.Unknown reason"
}

What could cause this? maybe someone from support could help investigate this?

Michael Cloonan (AdWords API Team)

unread,
Jul 7, 2016, 12:40:32 PM7/7/16
to AdWords API Forum
Hello,

Our engineering team is always looking to improve the performance of batch jobs, so I'll pass along this ID to them to see if they can find anything specific that might be causing issues here.

In general, the best recommendations to help with the success rate of your batch jobs are:

1) Use smaller batched. If you are using very large batches, try breaking them up into smaller batches to see a higher success rate.
2) Group like operations together. Put all your campaign operations first, then all your ad group operations, then all your ad operations, rather than mixing and matching. This will speed up processing significantly.

Engineering is working on ways to address both of these issues so that they are handled automatically on the server side, but for now making these changes on your side can help with reliability and speed of the batch job service.

Regards,
Mike, AdWords API Team
Reply all
Reply to author
Forward
0 new messages