Heya,
Anyone having the same problem with the V12 CampaignService?
I had this same issue when i was upgrading to version 8, see
http://groups.google.com/group/adwords-api/browse_thread/thread/133628d6e91927e5/449178dffcbe4888?lnk=gst&q=clearsense#449178dffcbe4888
Anyway, below are the error and soap messages.
System.InvalidOperationException: There is an error in XML document
(19, 47). ---> System.FormatException: Input string was not in a
correct format.
at System.Number.StringToNumber(String str, NumberStyles options,
NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt64(String value, NumberStyles options,
NumberFormatInfo numfmt)
at System.Xml.XmlConvert.ToInt64(String s)
at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderCampaignService.Read8_ConversionOptimizerSettings(Boolean
isNullable, Boolean checkType)
at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderCampaignService.Read19_Campaign(Boolean
isNullable, Boolean checkType)
at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderCampaignService.Read45_getAllAdWordsCampaignsResponse()
at
Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer22.Deserialize(XmlSerializationReader
reader)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader
xmlReader, String encodingStyle, XmlDeserializationEvents events)
--- End of inner exception stack trace ---
at Bridge_it.V2.GoogleAPI.CampaignService.Invoke(String methodName,
Object[] parameters)
at
Bridge_it.V2.GoogleAPI.CampaignService.getAllAdWordsCampaigns(Int32
dummy)
at Bridge_it.V2.GoogleAPI.Connection.GetCampaigns(String myAgent,
String myUser, String myPass, String myToken, String myAppToken,
String myEmail)
-----SoapRequest at 27-3-2008 12:22:48
<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="
http://www.w3.org/2001/
XMLSchema"><soap:Header><applicationToken xmlns="https://
adwords.google.com/api/adwords/v12">XXXXXXXXXXXX</
applicationToken><clientEmail xmlns="
https://adwords.google.com/api/
adwords/v12">XXXXXXXXXXXX</clientEmail><developerToken xmlns="https://
adwords.google.com/api/adwords/v12">XXXXXXXXXXXX</
developerToken><email xmlns="
https://adwords.google.com/api/adwords/
v12">XXXXXXXXXXXX</email><password xmlns="
https://adwords.google.com/
api/adwords/v12">XXXXXXXXXXXX</password><useragent xmlns="https://
adwords.google.com/api/adwords/v12">ClearSense B.V. - Bridge-It V2</
useragent></soap:Header><soap:Body><getAllAdWordsCampaigns
xmlns="
https://adwords.google.com/api/adwords/v12"><dummy>0</dummy></
getAllAdWordsCampaigns></soap:Body></soap:Envelope>
-----SoapResponse at 27-3-2008 12:22:48
<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<responseTime soapenv:actor="
http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns="
https://adwords.google.com/api/
adwords/v12">40</responseTime>
<operations soapenv:actor="
http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns="
https://adwords.google.com/api/
adwords/v12">2</operations>
<units soapenv:actor="
http://schemas.xmlsoap.org/soap/actor/next"
soapenv:mustUnderstand="0" xmlns="
https://adwords.google.com/api/
adwords/v12">2</units>
<requestId soapenv:actor="
http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns="
https://adwords.google.com/api/
adwords/v12">1b31036ce249265eac71f7d1bfb6afcf</requestId>
</soapenv:Header>
<soapenv:Body>
<getAllAdWordsCampaignsResponse xmlns="
https://adwords.google.com/
api/adwords/v12">
<getAllAdWordsCampaignsReturn>
<budgetAmount>30000000</budgetAmount>
<budgetOptimizerSettings>
<enabled>false</enabled>
</budgetOptimizerSettings>
<budgetPeriod>Daily</budgetPeriod>
<contentTargeting>AllPlacements</contentTargeting>
<conversionOptimizerSettings>
<enabled>false</enabled>
<maxCpaBidForAllAdGroups xsi:nil="true"/>
</conversionOptimizerSettings>
<enableSeparateContentBids>false</enableSeparateContentBids>
<endDay>2005-01-04-08:00</endDay>
<geoTargeting>
<targetAll>false</targetAll>
<countryTargets>
<countries>NL</countries>
</countryTargets>
<regionTargets xsi:nil="true"/>
<metroTargets xsi:nil="true"/>
<cityTargets xsi:nil="true"/>
<proximityTargets xsi:nil="true"/>
</geoTargeting>
<id>3118253</id>
<languageTargeting xsi:nil="true"/>
<name>XXXXXXXXXXXX</name>
<networkTargeting>
<networkTypes>SearchNetwork</networkTypes>
</networkTargeting>
<schedule>
<status>Disabled</status>
</schedule>
<startDay>2004-02-12-08:00</startDay>
<status>Paused</status>
</getAllAdWordsCampaignsReturn>
<getAllAdWordsCampaignsReturn>
<budgetAmount>220000000</budgetAmount>
<budgetOptimizerSettings>
<enabled>false</enabled>
</budgetOptimizerSettings>
<budgetPeriod>Daily</budgetPeriod>
<contentTargeting>AllPlacements</contentTargeting>
<conversionOptimizerSettings>
<enabled>false</enabled>
<maxCpaBidForAllAdGroups xsi:nil="true"/>
</conversionOptimizerSettings>
<enableSeparateContentBids>false</enableSeparateContentBids>
<endDay>2037-12-30-08:00</endDay>
<geoTargeting>
<targetAll>false</targetAll>
<countryTargets>
<countries>NL</countries>
</countryTargets>
<regionTargets xsi:nil="true"/>
<metroTargets xsi:nil="true"/>
<cityTargets xsi:nil="true"/>
<proximityTargets xsi:nil="true"/>
</geoTargeting>
<id>5464043</id>
<languageTargeting xsi:nil="true"/>
<name>XXXXXXXXXXXX</name>
<networkTargeting>
<networkTypes>SearchNetwork</networkTypes>
<networkTypes>ContentNetwork</networkTypes>
</networkTargeting>
<schedule>
<status>Disabled</status>
</schedule>
<startDay>2004-12-30-08:00</startDay>
<status>Suspended</status>
</getAllAdWordsCampaignsReturn>
</getAllAdWordsCampaignsResponse>
</soapenv:Body>
</soapenv:Envelope>
Anyone got a idea whats wrong? hope anyone can help me out.
Kind regards,
Vincent Meijer
Developer - ClearSense