adwords_api/lib/adwords_api/report_utils.rb
def download_report_as_file_with_awql(report_query, format, path, cid = nil)
      report_body = download_report_with_awql(report_query, format, cid)
      save_to_file(report_body, path)
      return nil
    end
def download_report_as_file_with_awql(report_query, format, path, cid = nil)
      report_body = download_report_with_awql(report_query, format, cid)
      save_to_file(report_body, path)
      return nil
    end
Downloads a report with AWQL and saves it to a file.

 Args:
 - report_query: query for the report as string
 - format: format for the report as string
 - path: path to save report to
 - cid: optional customer ID to run report against

 Returns:
 - nil

 Raises:
 - AdwordsApi::Errors::ReportError if server-side error occurred