adwords_api/lib/adwords_api/batch_job_utils.rb
def upload_operations(operations, batch_job_url)
      helper = start_incremental_upload(batch_job_url)
      helper.upload(operations, true)
    end
def upload_operations(operations, batch_job_url)
      helper = start_incremental_upload(batch_job_url)
      helper.upload(operations, true)
    end
Default constructor.

 Args:
 - api: AdwordsApi object
 - version: API version to use

 Uploads the given operations for a batch job to the provided URL.

 Args:
 - hash_operations: An array of ruby has operations to execute by
   posting them to the provided URL
 - service_name: The name of the AdwordsApi service as a symbol that would
   normally make this request
 - batch_job_url: The UploadURL provided by BatchJobService

 Raises:
 - InvalidBatchJobOperationError: If there is a problem converting the
 given operations to SOAP.