try {
$reportDownloadResult = $reportDownloader->downloadReportWithAwql($templateQuery, DownloadFormat::GZIPPED_CSV);
$reportDownloadResult->saveToFile($filePath);
} catch (cm\ApiException $e) {
@unlink($filePath);
} catch (\Exception $e) {
@unlink($filePath);
}
[file] /home/vagrant/code/googleadwords/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php
Let me know if you need anything from my side to debug this issue.
thanks!