Here is the actual error message.
I'm interpreting this to mean that Google is cutting me off mid-
request/response.
I'm going to wrap it in a retry and see how that goes.
But, if you have any suggestions for how to prevent this in the first
place, please let me know.
Thanks~
=============================
Server Error in '/' Application.
The underlying connection was closed: A connection that was expected
to be kept alive was closed by the server.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The underlying connection
was closed: A connection that was expected to be kept alive was closed
by the server.

Source Error:

Line 137:        [return: System.Xml.Serialization.XmlElementAttribute
("getAllCriteriaReturn")]
Line 138:        public Criterion[] getAllCriteria(long adGroupId) {
Line 139:            object[] results = this.Invoke("getAllCriteria",
new object[] {
Line 140:                        adGroupId});
Line 141:            return ((Criterion[])(results[0]));


Source File: C:\inetpub\ppc-tools\lib\awapi_dotnet_lib_2.1.0\src
\v13\CriterionService.cs    Line: 139

Stack Trace:

[WebException: The underlying connection was closed: A connection that
was expected to be kept alive was closed by the server.]
   System.Web.Services.Protocols.WebClientProtocol.GetWebResponse
(WebRequest request) +263
   System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse
(WebRequest request) +4
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) +172
   com.google.api.adwords.v13.CriterionService.getAllCriteria(Int64
adGroupId) in C:\inetpub\ppc-tools\lib\awapi_dotnet_lib_2.1.0\src
\v13\CriterionService.cs:139
   ja.api.google.adwords.MasterClient.getAllDB(Int64[] accounts) in c:
\inetpub\ppc-tools\App_Code\ja_google_api_adwords\MasterClient.cs:522
   GetActiveKeywords.Page_Load(Object sender, EventArgs e) in c:
\inetpub\ppc-tools\GetActiveKeywords.aspx.cs:40
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp,
Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object
sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+627


Version Information: Microsoft .NET Framework Version:2.0.50727.3053;
ASP.NET Version:2.0.50727.3053
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"AdWords 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to