lib/adwords_api/report_utils.rb
# Makes request and AdHoc service and returns response.
Makes request and AdHoc service and returns response.
Makes request and AdHoc service and returns response .
def make_adhoc_request(data, cid)
      url = @api.api_config.adhoc_report_download_url(
          @api.config.read('service.environment'), @version)
      headers = get_report_request_headers(url, cid)
      log_request(url, headers, data)
      response = AdsCommon::Http.post_response(url, data, @api.config, headers)
      check_for_errors(response)
      return response
    end
def make_adhoc_request ( data , cid ) url = @api . api_config . adhoc_report_download_url ( @api . config . read ( 'service.environment' ) , @version ) headers = get_report_request_headers ( url , cid ) log_request ( url , headers , data ) response = AdsCommon :: Http . post_response ( url , data , @api . config , headers ) check_for_errors ( response ) return response end
Makes request and AdHoc service and returns response.
Makes request and AdHoc service and returns response .
data
<not_specific>
cid
<not_specific>