src/Google/AdsApi/AdWords/Reporting/v201809/ReportDownloader.php
public function downloadReportWithReportQuery(
        ReportQuery $reportQuery,
        $reportFormat,
        ReportSettings $reportSettingsOverride = null
    ) {
        $awqlString = sprintf('%s', $reportQuery);

        return $this->downloadReportWithAwql(
            $awqlString,
            $reportFormat,
            $reportSettingsOverride
        );
    }
public function downloadReportWithReportQuery(
        ReportQuery $reportQuery,
        $reportFormat,
        ReportSettings $reportSettingsOverride = null
    ) {
        $awqlString = sprintf('%s', $reportQuery);

        return $this->downloadReportWithAwql(
            $awqlString,
            $reportFormat,
            $reportSettingsOverride
        );
    }
public function downloadReportWithReportQuery ( ReportQuery $ reportQuery , $ reportFormat , ReportSettings $ reportSettingsOverride = null ) { $ awqlString = sprintf ( '%s' , $ reportQuery ) ; return $ this -> downloadReportWithAwql ( $ awqlString , $ reportFormat , $ reportSettingsOverride ) ; }
Downloads a report using a report query object.

@param ReportQuery $reportQuery the report query object that can
generate an AWQL string
@param string $reportFormat the report format to request
@param null|ReportSettings $reportSettingsOverride the report settings
used to override the report settings of the AdWords session for this
request
@return ReportDownloadResult the report download result
@throws ApiException if there are errors during downloading reports
Downloads a report using a report query object .