Stats do not update processing time.

2 views
Skip to first unread message

ojak

unread,
Jun 18, 2010, 7:57:29 PM6/18/10
to AdWords API Forum
The processingTimeMillis stat on jobs is not useful during monitoring,
as the processing time does not appear to be updated until the process
is complete.

Here is an example of a returned BulkMutateJobStats object (via Ruby
API):
#<AdWords::V200909::BulkMutateJobService::BulkMutateJobStats:
0x10738f6a0 @numFailedOperations=0, @processingTimeMillis=0,
@pendingTimeMillis=8000, @progressPercent=50,
@numUnprocessedOperations=4, @jobStats_Type="BulkMutateJobStats",
@numOperations=8>

As you can see, it's 50% complete (progressPercent), yet the
processingTimeMillis is still 0. Is this a bug?

dshevnock

unread,
Jun 19, 2010, 10:39:39 AM6/19/10
to AdWords API Forum
I wonder if the processingTimeMillis is not updated until the process
reaches 100%. Out of curiosity, how would this value be useful during
monitoring?

Dan

ojak

unread,
Jun 19, 2010, 4:47:05 PM6/19/10
to AdWords API Forum
Yeah, it only updates at 100%.

As for a monitoring use case, although we can estimate the time
remaining based on the change in items processed, that sort of thing
might not be as useful in cases where errors are occurring or
monitoring is stopped and then resumed at a future time (i.e. loss of
previous state information). I guess I expected that the
processingTimeMillis would be a running total provided by the API.
Generally speaking, I think it would give the receiving side of the
API some insight into what is happening throughout a job's life,
especially for stalled jobs and error cases where it's often difficult
to know what exactly is going on with the API side.

AdWords API Advisor

unread,
Jun 21, 2010, 4:59:54 PM6/21/10
to AdWords API Forum
Hi All,

Currently the processingTimeMillis is only available when the job is
complete. Thank you for the feedback though, and I'll pass this
request on to the core engineering team.

Best,
- Eric Koleda, AdWords API Team
Reply all
Reply to author
Forward
0 new messages