Re: Download report without saving

2011-03-16 Thread i...@adwire.se
It's 180kB, so it should be OK. Also, I think I should receive a warning if I'm running out of memory. However, I've decided to save the reports do disc instead, not only because downloading it to memory doesn't work but also because many of the reports might be quite large. Thank you very much fo

Re: Download report without saving

2011-03-15 Thread Eric Koleda
Hi Robert, How big is the report when you save it to disk? If it's too large it could be that you are running out of memory, which is why the saving to disk option is desirable in some cases. Best, - Eric -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discus

Re: Download report without saving

2011-03-15 Thread robert.johans...@adwire.se
I think I've tried everything now. I have downloaded the new client library (2.5.0), but it didn't help. If I specify a path, the report is saved to disc. But when I replace $path with NULL, I get nothing. I have tried to print the response, but the result is empty. If I modify the reportUtils file

Re: Download report without saving

2011-03-02 Thread Eric Koleda
Hi Robert, Testing against the head version in subversion, using NULL for the $path parameter is working as expected: print ReportUtils::DownloadReport($reportDefinitionId, NULL, $user); There was one change to the report download functionality since 2.4.1, but I'm not sure if it's related t

Re: Download report without saving

2011-03-02 Thread robert.johans...@adwire.se
I have tried to figure this out myself for a week now, but with no luck. Do you have any further information about this issue? On 21 Feb, 15:19, "robert.johans...@adwire.se" wrote: > Hi Anash, > > That's exactly what I'm doing, but the $result variable is empty. This > is despite of the fact that

Re: Download report without saving

2011-02-25 Thread robert.johans...@adwire.se
Any ideas? On 21 Feb, 15:19, "robert.johans...@adwire.se" wrote: > Hi Anash, > > That's exactly what I'm doing, but the $result variable is empty. This > is despite of the fact that the value of $httpCode is 200 and the > value of $downloadSize is a pretty high number. > > Thank you in advance! >

Re: Download report without saving

2011-02-21 Thread robert.johans...@adwire.se
Hi Anash, That's exactly what I'm doing, but the $result variable is empty. This is despite of the fact that the value of $httpCode is 200 and the value of $downloadSize is a pretty high number. Thank you in advance! On 21 Feb, 12:02, AdWords API Advisor wrote: > Hi Robert, > > If you pass a

Re: Download report without saving

2011-02-21 Thread robert.johans...@adwire.se
Hi Anash, That's exactly what I'm doing, but the $result variable is empty. This is despite of the fact that the value of $httpCode is 200 and the value of $downloadSize is a pretty high number. Thank you in advance! On 21 Feb, 12:02, AdWords API Advisor wrote: > Hi Robert, > > If you pass a N

Re: Download report without saving

2011-02-21 Thread robert.johans...@adwire.se
That's exactly what I'm doing, but when I try to output the response I can see that the "$result" variable is empty. This is despite to the fact that the "$httpCode" variable returns a value of 200 (should mean that there's no errors) and the "$downloadSize" variable contains a pretty high number.

Re: Download report without saving

2011-02-21 Thread AdWords API Advisor
Hi Robert, If you pass a NULL to $path parameter when calling ReportUtils.DownloadReport, then the actual report contents are returned by the method. See http://code.google.com/p/google-api-adwords-php/source/browse/trunk/src/Google/Api/Ads/AdWords/Util/ReportUtils.php#59 for details. Cheers, Ana

Re: Download report without saving

2011-02-18 Thread robert.johans...@adwire.se
Hi Anash, I'm using PHP lib 2.4.1. Best Regards, Robert On 17 Feb, 06:10, AdWords API Advisor wrote: > Hi Robert, > > Which client library are you using? > > Cheers, > Anash P. Oommen, > AdWords API Advisor. > > On Feb 15, 8:10 pm, "robert.johans...@adwire.se" > > > > wrote: > > Six months ag

Re: Download report without saving

2011-02-16 Thread AdWords API Advisor
Hi Robert, Which client library are you using? Cheers, Anash P. Oommen, AdWords API Advisor. On Feb 15, 8:10 pm, "robert.johans...@adwire.se" wrote: > Six months ago, I was told that the ability to download a report to > memory would be implemented in the next release. Since then, the new > 'v2

Download report without saving

2011-02-15 Thread robert.johans...@adwire.se
Six months ago, I was told that the ability to download a report to memory would be implemented in the next release. Since then, the new 'v201008' has been released, but I can't still download my reports to memory. When will this be supported? Thank you in advance! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=

Re: Download report without saving

2010-09-02 Thread AdWords API Advisor
Hi Robert, The ability to download a report to memory has been implemented, but is currently only available in trunk. http://code.google.com/p/google-api-adwords-php/source/browse/trunk/src/Google/Api/Ads/AdWords/Util/ReportUtils.php#56 This code will be incorporated in the next release, but

Re: Download report without saving

2010-08-31 Thread robert.johans...@adwire.se
Does someone have an idea? On 28 Aug, 11:29, "robert.johans...@adwire.se" wrote: > Hi Anash, > > Thank you for your quick response! However, I can't make the code > work. The $result variable remains empty, but when I check the > $httpCode variable I can see that it has a value of 200 which > ind

Re: Download report without saving

2010-08-28 Thread robert.johans...@adwire.se
Hi Anash, Thank you for your quick response! However, I can't make the code work. The $result variable remains empty, but when I check the $httpCode variable I can see that it has a value of 200 which indicates that nothing went wrong in the request. Below is a part of the code that I'm trying to

Re: Download report without saving

2010-08-28 Thread robert.johans...@adwire.se
Hi Anash, Thank you for your quick response! However, I can't make the code work. The $result variable remains empty, but when I check the $httpCode variable I can see that it has a value of 200 which indicates that nothing went wrong in the request. Below is a part of the code that I'm trying to

Re: Download report without saving

2010-08-24 Thread AdWords API Advisor
Hi Robert, The code to achieve this is quite similar to http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201003/DownloadReport.php. If you pass a null to $path, then ReportUtils::DownloadReport returns you the actual report contents. See http://code.google.com/p/google

Download report without saving

2010-08-22 Thread robert.johans...@adwire.se
Hi, In the PHP client library I can find an example of how to download a report created by the new reportDefinitionService. But how can I get the report without saving it as a file, but instead open it in memory (like with the old reports)? There is no need for me to save it as a file, as I just w