Hi,
I'm running into an error where a previously scheduled and completed
structure report is sitting and waiting in my account (happens to be
an MCC account). As long as that report is there, when I run
GetAllJobs, i get the following error: (running .NET 3.5)
String was not recognized as a valid DateTime.
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.FormatException: String was not recognized
as a valid DateTime.
Source Error:
Line 98: [return:
System.Xml.Serialization.XmlElementAttribute("getAllJobsReturn")]
Line 99: public ReportJob[] getAllJobs() {
Line 100: object[] results = this.Invoke("getAllJobs", new
object[0]);
Line 101: return ((ReportJob[])(results[0]));
Line 102: }
Source File: C:\inetpub\ppc-tools\lib\src\v12\ReportService.cs
Line: 100
Stack Trace:
[FormatException: String was not recognized as a valid DateTime.]
System.DateTimeParse.ParseExactMultiple(String s, String[] formats,
DateTimeFormatInfo dtfi, DateTimeStyles style) +2302870
System.DateTime.ParseExact(String s, String[] formats,
IFormatProvider provider, DateTimeStyles style) +46
System.Xml.XmlConvert.ToDateTime(String s, String[] formats) +26
System.Xml.Serialization.XmlCustomFormatter.ToDateTime(String
value, String[] formats) +8
System.Xml.Serialization.XmlCustomFormatter.ToDate(String value)
+36
System.Xml.Serialization.XmlSerializationReader.ToDate(String
value) +30
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReportService.Read20_DefinedReportJob(Boolean
isNullable, Boolean checkType) +1068
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReportService.Read21_ReportJob(Boolean
isNullable, Boolean checkType) +130
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReportService.Read30_getAllJobsResponse()
+300
Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer17.Deserialize(XmlSerializationReader
reader) +40
System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader
xmlReader, String encodingStyle, XmlDeserializationEvents events) +161
[InvalidOperationException: There is an error in XML document (511,
34).]
System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader
xmlReader, String encodingStyle, XmlDeserializationEvents events) +637
System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader
xmlReader, String encodingStyle) +32
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean
asyncCall) +1671
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) +204
com.google.api.adwords.v12.ReportService.getAllJobs() in C:\inetpub
\ppc-tools\lib\src\v12\ReportService.cs:100
ja.api.google.adwords.ReportClient.saveAllReports() in c:\inetpub
\ppc-tools\App_Code\ja_google_api_adwords\ReportClient.cs:266
GetReports.Page_Load(Object sender, EventArgs e) in c:\inetpub\ppc-
tools\GetReports.aspx.cs:28
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp,
Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object
sender, EventArgs e) +33
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+1436
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
-~----------~----~----~----~------~----~------~--~---