I got this error when running the application in debug mode:

System.InvalidOperationException: Response is not well-formed XML. ---
> System.X
ml.XmlException: Data at the root level is invalid. Line 1, position
1.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader,
Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(TextReader txtReader)
   at Google.Api.Ads.Common.Util.SerializationUtilities.LoadXml(String
xmlText)
   at
Google.Api.Ads.Common.Lib.SoapListenerExtension.CallListeners(Direction
direction)
   at
Google.Api.Ads.Common.Lib.SoapListenerExtension.ProcessMessage(SoapMessage
message)
   at
System.Web.Services.Protocols.SoapMessage.RunExtensions(SoapExtension[]
extensions, Boolean throwOnException)
   at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean
asyncCall)
   at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
   --- End of inner exception stack trace ---
   at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
   at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String
methodName, Object[] parameters)
   at Google.Api.Ads.AdWords.Lib.AdWordsSoapClient.MakeApiCall(String
methodName, Object[] parameters)
   at Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke(String
methodName, Object[] parameters)
   at
Google.Api.Ads.AdWords.v201109.CampaignCriterionService.mutate(CampaignCriterionOperation[]
operations)

Does anyone have a solution?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Reply via email to