Hi, I am getting this error for one of my client when I am trying to download the Shopping performance report. I have already contacted the Adwords API team and they this was their response
Upon checking with the team, the issue could be due to the size of the report. Could you try on your end to add more predicates on generating the report so the report size gets reduced? an example would be to generate the report based on only one ad group. If the issue still persists, I suggest reaching out to PHP client library owners in this link <https://github.com/googleads/googleads-php-lib/issues> since the error message ("failed to open stream: HTTP request failed!") that you received is more on the client library and the library owners are better equipped to provide support for client library specific issues/concerns. Here is the PHP code I am using. And it is working for all of my client except one client. I have SOAP request and everything is available. try { *$reportDownloadResult = $reportDownloader->downloadReportWithAwql($templateQuery, DownloadFormat::GZIPPED_CSV);* $reportDownloadResult->saveToFile($filePath); } catch (cm\ApiException $e) { @unlink($filePath); } catch (\Exception $e) { @unlink($filePath); } I got an error on the above redline of the code GuzzleHttp/Exception/RequestException with message 'Error creating resource: [message] fopen( https://adwords.google.com/api/adwords/reportdownload/v201806): failed to open stream: HTTP request failed! [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! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/2e915635-cffd-444b-ba32-9cdb47693cdc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.