adwords_api/lib/adwords_api/batch_job_utils.rb
def get_job_results(batch_job_url)
      @api.utils_reporter.batch_job_utils_used()
      xml_response = AdsCommon::Http.get_response(batch_job_url, @api.config)
      begin
        return sanitize_result(
            get_nori().parse(xml_response.body)[:mutate_response][:rval])
      rescue
        return nil
      end
    end
def get_job_results(batch_job_url)
      @api.utils_reporter.batch_job_utils_used()
      xml_response = AdsCommon::Http.get_response(batch_job_url, @api.config)
      begin
        return sanitize_result(
            get_nori().parse(xml_response.body)[:mutate_response][:rval])
      rescue
        return nil
      end
    end
def get_job_results ( batch_job_url ) @api . utils_reporter . batch_job_utils_used ( ) xml_response = AdsCommon :: Http . get_response ( batch_job_url , @api . config ) begin return sanitize_result ( get_nori ( ) . parse ( xml_response . body ) [ :mutate_response ] [ :rval ] ) rescue return nil end end
Downloads the results of a batch job from the specified URL.

 Args:
 - batch_job_url: The URL provided by BatchJobService to fetch the results
   from

 Returns:
 - the results of the batch job, as a ruby hash, or nil if none yet exist
Downloads the results of a batch job from the specified URL .