The underlying connection was closed : ReportUtilities.getResponse

60 views
Skip to first unread message

Ketaki

unread,
Nov 4, 2016, 10:22:58 AM11/4/16
to AdWords API Forum

Hi AdWords Team,

We are getting below error when trying to download data for Ad Performance Report for DateRangeType as ALL_TIME and with includeZeroImpressions = true

"The underlying connection was closed: A connection that was expected to be kept alive was closed by the server."
Status : KeepAliveFailure


We are getting above error while calling ReportUtilities.getResponse() method.

The data is getting downloaded when trying with custom date range.

Can you please help ASAP to resolve this issue.



Thanks and regards,
Ketaki

Anthony Madrigal

unread,
Nov 4, 2016, 10:46:17 AM11/4/16
to AdWords API Forum
Hi Ketaki,

Are you only getting this error with the Ad Performance Report? Could you send us your report definition and client customer Id through reply privately to author?

Thanks,
Anthony
AdWords API Team

Ketaki

unread,
Nov 16, 2016, 8:24:51 AM11/16/16
to AdWords API Forum

Hi Anthony,

Thank you for your reply.
I was getting this error for Ad Performance Report when I am trying to get data with DateRangeType set as ALL_TIME and IncludeZeroImpression =True.

But as zero impression is not supported for Ad Performance Report, I set IncludeZeroImpression to false. Also I remove the 'Date' field from reportDefinitionFields. Now the report is fetching data.



Thanks,
Ketaki.

Anthony Madrigal

unread,
Nov 16, 2016, 1:56:18 PM11/16/16
to AdWords API Forum
Hi Ketaki,

Since the Ad Performance Report and the field Date does support zero impressions, could you please provide me your report definition using reply privately to author so that I can take a look?
Reply all
Reply to author
Forward
0 new messages