"Connection Closed Gracefully"-Message while report-XML-Download

69 views
Skip to first unread message

schoebej

unread,
Jun 4, 2008, 3:37:33 AM6/4/08
to AdWords API Forum
Hello,

we use the custom report to download the data from a large number of
keywords in several adgroups. It always worked fine. But now the
download of the XML-File (size about 130 MB) interrupts sometimes. The
message I receive from my Indy-component is "Connection Closed
Gracefully" which is caused by closing the connection by server. This
happens, when the download exceeds 30 minutes. Is there any timeout, I
have to pay attention to? And in which way can this problem be
avoided? The application is developed in Borland Delphi 7 with Indy
10.

Thanks for every proposal

AdWords API Advisor

unread,
Jun 5, 2008, 2:47:02 PM6/5/08
to AdWords API Forum
Hello,

I wasn't aware of a hard 30 minute limit on our end for an open
connection, but it's of course possible. I'm assuming that you can't
do anything to improve your Internet connection speed and download
things faster. If you're not already doing so, have you tried
retrieving the gzip-ed version of the report XML instead of the
uncompressed version? The .zip-ed version would obviously be much
smaller. You can get the URL for the gzip-ed version via the
getGzipReportDownloadUrl() method instead of using teh
getReportDownloadUrl() method:

http://www.google.com/apis/adwords/developer/ReportService.html#getGzipReportDownloadUrl

Cheers,
-Jeff Posnick, AdWords API Team
Reply all
Reply to author
Forward
0 new messages