Job statuses are not returning correctly for selector.jobStatuses in
production environment (Ruby API).  Below are two queries which should
both return the same values:

# Get ALL jobs:
selector =
@service[:bulk_mutate_job].module::BulkMutateJobSelector.new
selector.jobStatuses = []
@service[:bulk_mutate_job].get(selector).select { |job| job.status ==
'PROCESSING' }.count
=> 13

# Get only PROCESSING jobs:
selector  =
@service[:bulk_mutate_job].module::BulkMutateJobSelector.new
selector.jobStatuses = ["PROCESSING"]
@service[:bulk_mutate_job].get(selector).select { |job| job.status ==
'PROCESSING' }.count
=> 1

Per this example, when setting jobStatuses to an empty array, 13 jobs
are returned with "Processing",  while only 1 is returned why the
jobStatuses is set to ["PROCESSING"].

API team, help?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Reply via email to