This is a question about the new BatchJobService 
<https://developers.google.com/adwords/api/docs/reference/v201601/BatchJobService>,
 
replacement to MutateJobService 
<https://developers.google.com/adwords/api/docs/reference/v201601/MutateJobService>
.

I am using the v201601 Python library which is very well explained and 
documented. 

Short question:

- Is it possible for the BatchJobService to be "DONE", or "CANCELLED". 
Without a corresponding change in the batch job object which was selected 
by Id. 

Long explanation:

I used the BatchJobService to update the status 2701 campaigns all at once.
I was able to poll the status using the selector and predicates EQUALS 
<batch_job_id> with an exponential drop off as recommended in the example
This worked reliably most of the time, and completed in 30 - 40s on average.
Occasionally, the exact same request would complete in 3 minutes with a 
status of "AWAITING _FILE" or "ACTIVE"
I believe the operations usually completed eventually, but once in a while 
they did not. 

This problem is difficult to replicate as the service usually works 
perfectly, but I will try to log all the interations in the future so I can 
provide more details. 


Long Question:

Assuming:

- I have polled the correct batch job Id
- I have indeed uploaded operations to the batch job
- I polled the batch job status exactly as recommended in the documentation

1 - Is it possible for the job to take a very long time occaisionally? And 
rarely fail for reasons unknown, and maybe not change the status after 
failing or completing?

2 - Is there a maximum waiting time (maybe it's in the docs and I missed 
it) at which I should stop polling the status and assume the job has 
failed, or double check with the account on the Adwords website.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ae9272ab-3aad-4045-ae29-ef293b12774f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Batc... foluso
    • ... 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
      • ... foluso
        • ... 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum

Reply via email to