Re: Cannot get all managed customers with java library: 在文件元素內容中找到無效的 XML 字元 (Unicode: 0x8)

2018-08-24 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Everyone,

I know it's been awhile, but I wanted everyone to know that we fixed the 
root issue where these hidden characters were getting into our system. Over 
the next couple of months, this should get better as people will not be 
able to put in characters that will create issues for you. Thank you all 
for chiming in! 

Take care,
Nadine, AdWords API Team

On Wednesday, February 7, 2018 at 10:34:45 AM UTC-5, Nadine Sundquist 
(AdWords API Team) wrote:
>
> Hi,
>
> Thank you for getting in contact with me. I was of the understanding that 
> this was more of an occasional issue, and that it didn't happen that often. 
> Now that you're reaching out again, I can see that it is a bit more 
> serious. There currently is no timeline for this. However, since you've 
> raised this as a concern that continues to be a problem, I have raised the 
> issue's priority. May I ask how often this issue happens? Is it something 
> that happens every day, or is it something that happens once a week? The 
> reason I ask is because I ran a query on our logs over the last couple of 
> weeks, and I haven't seen it happening, so I'm wondering if I may be 
> missing it. If you do have a recent example of it, please send me the 
> *requestId* of an example request that recently failed. If you don't have 
> the *requestId*, then an example of the request like you did before will 
> work as well.
>
> Thanks,
> Nadine, AdWords API Team
>
> On Wednesday, February 7, 2018 at 4:04:29 AM UTC-5, w...@urad.com.tw 
> wrote:
>>
>> Hi Nadine Sundquist,
>>
>> I'm curious that is there any update about this issue? We encountered 
>> this issue again and again...
>> Does AdWords API Team have any schedule for solving this issue? (Our 
>> manager has been caring about this issue for a while, and we are asked to 
>> propose some alternative solutions for this...)
>> Thanks for your reading.
>>
>>
>>
>> Nadine Sundquist (AdWords API Team)於 2017年9月27日星期三 UTC+8上午12時11分28秒寫道:
>>>
>>> Hello,
>>>
>>> I found the issue, and it's a tricky one. The good thing is that the 
>>> request you are making to the API is successful, so there is nothing wrong 
>>> with your request. The issue is what is being returned. You are 
>>> successfully getting a response. However, that response has hidden 
>>> characters in it. When Java tries to parse it, it considers those hidden 
>>> characters as invalid XML characters, and that is where you are getting the 
>>> errors. I found one of the reasons, but there may be more than one reason. 
>>> I'll send you the account with the hidden character issue in a separate, 
>>> private email. I just wanted to make sure that people reading the forum in 
>>> the future know to look for hidden characters when this happens.
>>>
>>> Best,
>>> Nadine, AdWords API Team
>>>
>>> On Monday, September 25, 2017 at 11:46:07 PM UTC-4, 郭文豪 wrote:

 Request
 


 11:21:04.739 [main] INFO 
 com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
 SOAP request:
 
 http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
 http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
 http://www.w3.org/2001/XMLSchema-instance";>
 
 https://adwords.google.com/api/adwords/mcm/v201708"; 
 soapenv:mustUnderstand="0">
 https://adwords.google.com/api/adwords/cm/v201708
 ">client-customer-id
 https://adwords.google.com/api/adwords/cm/v201708
 ">REDACTED
 https://adwords.google.com/api/adwords/cm/v201708";>unknown 
 (AwApi-Java, AdWords-Axis/3.8.0, Common-Java/3.8.0, Axis/1.4, 
 Java/1.8.0_101, maven, SelectorBuilder)
 https://adwords.google.com/api/adwords/cm/v201708
 ">false
 https://adwords.google.com/api/adwords/cm/v201708
 ">false
 
 
 
 https://adwords.google.com/api/adwords/mcm/v201708
 ">
 
 https://adwords.google.com/api/adwords/cm/v201708
 ">CustomerId
 https://adwords.google.com/api/adwords/cm/v201708";>Name
 https://adwords.google.com/api/adwords/cm/v201708";>
 1040
 20
 
 
 
 
 


 Response
 

 11:21:04.739 [main] INFO 
 com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
 SOAP response:
 
 http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
 http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
 http://www.w3.org/2001/XMLSchema-instance";>
 
 
 soapenv:Server.userException
 org.xml.sax.SAXParseException; lineNumber: 1; 
 columnNumber: 816; 在文件元素內容中找到無效的 XML 字元 (Unicode: 0x8)。
 
 >>> xmlns:ns1="http://xml.

Re: Cannot get all managed customers with java library: 在文件元素內容中找到無效的 XML 字元 (Unicode: 0x8)

2018-08-26 Thread wise
Hi Nadine,

I would say this news is never too late :D
Thank you for your effort!


BR,
Wise

Nadine Sundquist (AdWords API Team)於 2018年8月25日星期六 UTC+8上午6時43分00秒寫道:
>
> Hello Everyone,
>
> I know it's been awhile, but I wanted everyone to know that we fixed the 
> root issue where these hidden characters were getting into our system. Over 
> the next couple of months, this should get better as people will not be 
> able to put in characters that will create issues for you. Thank you all 
> for chiming in! 
>
> Take care,
> Nadine, AdWords API Team
>
> On Wednesday, February 7, 2018 at 10:34:45 AM UTC-5, Nadine Sundquist 
> (AdWords API Team) wrote:
>>
>> Hi,
>>
>> Thank you for getting in contact with me. I was of the understanding that 
>> this was more of an occasional issue, and that it didn't happen that often. 
>> Now that you're reaching out again, I can see that it is a bit more 
>> serious. There currently is no timeline for this. However, since you've 
>> raised this as a concern that continues to be a problem, I have raised the 
>> issue's priority. May I ask how often this issue happens? Is it something 
>> that happens every day, or is it something that happens once a week? The 
>> reason I ask is because I ran a query on our logs over the last couple of 
>> weeks, and I haven't seen it happening, so I'm wondering if I may be 
>> missing it. If you do have a recent example of it, please send me the 
>> *requestId* of an example request that recently failed. If you don't 
>> have the *requestId*, then an example of the request like you did before 
>> will work as well.
>>
>> Thanks,
>> Nadine, AdWords API Team
>>
>> On Wednesday, February 7, 2018 at 4:04:29 AM UTC-5, wi...@urad.com.tw 
>>  wrote:
>>>
>>> Hi Nadine Sundquist,
>>>
>>> I'm curious that is there any update about this issue? We encountered 
>>> this issue again and again...
>>> Does AdWords API Team have any schedule for solving this issue? (Our 
>>> manager has been caring about this issue for a while, and we are asked to 
>>> propose some alternative solutions for this...)
>>> Thanks for your reading.
>>>
>>>
>>>
>>> Nadine Sundquist (AdWords API Team)於 2017年9月27日星期三 UTC+8上午12時11分28秒寫道:

 Hello,

 I found the issue, and it's a tricky one. The good thing is that the 
 request you are making to the API is successful, so there is nothing wrong 
 with your request. The issue is what is being returned. You are 
 successfully getting a response. However, that response has hidden 
 characters in it. When Java tries to parse it, it considers those hidden 
 characters as invalid XML characters, and that is where you are getting 
 the 
 errors. I found one of the reasons, but there may be more than one reason. 
 I'll send you the account with the hidden character issue in a separate, 
 private email. I just wanted to make sure that people reading the forum in 
 the future know to look for hidden characters when this happens.

 Best,
 Nadine, AdWords API Team

 On Monday, September 25, 2017 at 11:46:07 PM UTC-4, 郭文豪 wrote:
>
> Request
> 
>
>
> 11:21:04.739 [main] INFO 
> com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger 
> - 
> SOAP request:
> 
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
> 
> https://adwords.google.com/api/adwords/mcm/v201708"; 
> soapenv:mustUnderstand="0">
> https://adwords.google.com/api/adwords/cm/v201708
> ">client-customer-id
> https://adwords.google.com/api/adwords/cm/v201708
> ">REDACTED
> https://adwords.google.com/api/adwords/cm/v201708";>unknown 
> (AwApi-Java, AdWords-Axis/3.8.0, Common-Java/3.8.0, Axis/1.4, 
> Java/1.8.0_101, maven, SelectorBuilder)
> https://adwords.google.com/api/adwords/cm/v201708
> ">false
> https://adwords.google.com/api/adwords/cm/v201708
> ">false
> 
> 
> 
> https://adwords.google.com/api/adwords/mcm/v201708
> ">
> 
> https://adwords.google.com/api/adwords/cm/v201708
> ">CustomerId
> https://adwords.google.com/api/adwords/cm/v201708";>Name
> https://adwords.google.com/api/adwords/cm/v201708";>
> 1040
> 20
> 
> 
> 
> 
> 
>
>
> Response
> 
>
> 11:21:04.739 [main] INFO 
> com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger 
> - 
> SOAP response:
> 
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema"; xmln

Re: Cannot get all managed customers with java library: 在文件元素內容中找到無效的 XML 字元 (Unicode: 0x8)

2017-09-25 Thread 郭文豪
Request



11:21:04.739 [main] INFO 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
SOAP request:

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

https://adwords.google.com/api/adwords/mcm/v201708"; 
soapenv:mustUnderstand="0">
https://adwords.google.com/api/adwords/cm/v201708";>client-customer-id
https://adwords.google.com/api/adwords/cm/v201708";>REDACTED
https://adwords.google.com/api/adwords/cm/v201708";>unknown 
(AwApi-Java, AdWords-Axis/3.8.0, Common-Java/3.8.0, Axis/1.4, 
Java/1.8.0_101, maven, SelectorBuilder)
https://adwords.google.com/api/adwords/cm/v201708";>false
https://adwords.google.com/api/adwords/cm/v201708";>false



https://adwords.google.com/api/adwords/mcm/v201708";>

https://adwords.google.com/api/adwords/cm/v201708";>CustomerId
https://adwords.google.com/api/adwords/cm/v201708";>Name
https://adwords.google.com/api/adwords/cm/v201708";>
1040
20







Response


11:21:04.739 [main] INFO 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
SOAP response:

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>


soapenv:Server.userException
org.xml.sax.SAXParseException; lineNumber: 1; 
columnNumber: 816; 在文件元素內容中找到無效的 XML 字元 (Unicode: 0x8)。

http://xml.apache.org/axis/";>org.xml.sax.SAXParseException; 
lineNumber: 1; columnNumber: 816; 在文件元素內容中找到無效的 XML 字元 (Unicode: 0x8)。
at 
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
at 
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
at 
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
at 
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
at 
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2920)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:504)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at 
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at 
com.google.api.ads.adwords.axis.v201708.mcm.ManagedCustomerServiceSoapBindingStub.get(ManagedCustomerServiceSoapBindingStub.java:821)
at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:100)
at 
com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:234)
at 
com.google.api.ads.common.lib.soa

Re: Cannot get all managed customers with java library: 在文件元素內容中找到無效的 XML 字元 (Unicode: 0x8)

2017-09-26 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
Hello,

I found the issue, and it's a tricky one. The good thing is that the 
request you are making to the API is successful, so there is nothing wrong 
with your request. The issue is what is being returned. You are 
successfully getting a response. However, that response has hidden 
characters in it. When Java tries to parse it, it considers those hidden 
characters as invalid XML characters, and that is where you are getting the 
errors. I found one of the reasons, but there may be more than one reason. 
I'll send you the account with the hidden character issue in a separate, 
private email. I just wanted to make sure that people reading the forum in 
the future know to look for hidden characters when this happens.

Best,
Nadine, AdWords API Team

On Monday, September 25, 2017 at 11:46:07 PM UTC-4, 郭文豪 wrote:
>
> Request
> 
>
>
> 11:21:04.739 [main] INFO 
> com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
> SOAP request:
> 
> http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
> 
> https://adwords.google.com/api/adwords/mcm/v201708"; 
> soapenv:mustUnderstand="0">
> https://adwords.google.com/api/adwords/cm/v201708
> ">client-customer-id
> https://adwords.google.com/api/adwords/cm/v201708
> ">REDACTED
> https://adwords.google.com/api/adwords/cm/v201708";>unknown (AwApi-Java, 
> AdWords-Axis/3.8.0, Common-Java/3.8.0, Axis/1.4, Java/1.8.0_101, maven, 
> SelectorBuilder)
> https://adwords.google.com/api/adwords/cm/v201708
> ">false
> https://adwords.google.com/api/adwords/cm/v201708
> ">false
> 
> 
> 
> https://adwords.google.com/api/adwords/mcm/v201708";>
> 
> https://adwords.google.com/api/adwords/cm/v201708";>CustomerId
> https://adwords.google.com/api/adwords/cm/v201708";>Name
> https://adwords.google.com/api/adwords/cm/v201708";>
> 1040
> 20
> 
> 
> 
> 
> 
>
>
> Response
> 
>
> 11:21:04.739 [main] INFO 
> com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
> SOAP response:
> 
> http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
> 
> 
> soapenv:Server.userException
> org.xml.sax.SAXParseException; lineNumber: 1; 
> columnNumber: 816; 在文件元素內容中找到無效的 XML 字元 (Unicode: 0x8)。
> 
>  xmlns:ns1="http://xml.apache.org/axis/";>org.xml.sax.SAXParseException; 
> lineNumber: 1; columnNumber: 816; 在文件元素內容中找到無效的 XML 字元 (Unicode: 0x8)。
> at 
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
> at 
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
> at 
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
> at 
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
> at 
> com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465)
> at 
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2920)
> at 
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
> at 
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)
> at 
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:504)
> at 
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
> at 
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
> at 
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
> at 
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
> at 
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
> at 
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
> at 
> org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
> at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
> at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
> at 
> org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
> at 
> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32

Re: Cannot get all managed customers with java library: 在文件元素內容中找到無效的 XML 字元 (Unicode: 0x8)

2018-02-07 Thread wise
Hi Nadine Sundquist,

I'm curious that is there any update about this issue? We encountered this 
issue again and again...
Does AdWords API Team have any schedule for solving this issue? (Our 
manager has been caring about this issue for a while, and we are asked to 
propose some alternative solutions for this...)
Thanks for your reading.



Nadine Sundquist (AdWords API Team)於 2017年9月27日星期三 UTC+8上午12時11分28秒寫道:
>
> Hello,
>
> I found the issue, and it's a tricky one. The good thing is that the 
> request you are making to the API is successful, so there is nothing wrong 
> with your request. The issue is what is being returned. You are 
> successfully getting a response. However, that response has hidden 
> characters in it. When Java tries to parse it, it considers those hidden 
> characters as invalid XML characters, and that is where you are getting the 
> errors. I found one of the reasons, but there may be more than one reason. 
> I'll send you the account with the hidden character issue in a separate, 
> private email. I just wanted to make sure that people reading the forum in 
> the future know to look for hidden characters when this happens.
>
> Best,
> Nadine, AdWords API Team
>
> On Monday, September 25, 2017 at 11:46:07 PM UTC-4, 郭文豪 wrote:
>>
>> Request
>> 
>>
>>
>> 11:21:04.739 [main] INFO 
>> com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
>> SOAP request:
>> 
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
>> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance";>
>> 
>> https://adwords.google.com/api/adwords/mcm/v201708"; 
>> soapenv:mustUnderstand="0">
>> https://adwords.google.com/api/adwords/cm/v201708
>> ">client-customer-id
>> https://adwords.google.com/api/adwords/cm/v201708
>> ">REDACTED
>> https://adwords.google.com/api/adwords/cm/v201708";>unknown (AwApi-Java, 
>> AdWords-Axis/3.8.0, Common-Java/3.8.0, Axis/1.4, Java/1.8.0_101, maven, 
>> SelectorBuilder)
>> https://adwords.google.com/api/adwords/cm/v201708
>> ">false
>> https://adwords.google.com/api/adwords/cm/v201708
>> ">false
>> 
>> 
>> 
>> https://adwords.google.com/api/adwords/mcm/v201708";>
>> 
>> https://adwords.google.com/api/adwords/cm/v201708
>> ">CustomerId
>> https://adwords.google.com/api/adwords/cm/v201708";>Name
>> https://adwords.google.com/api/adwords/cm/v201708";>
>> 1040
>> 20
>> 
>> 
>> 
>> 
>> 
>>
>>
>> Response
>> 
>>
>> 11:21:04.739 [main] INFO 
>> com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
>> SOAP response:
>> 
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
>> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance";>
>> 
>> 
>> soapenv:Server.userException
>> org.xml.sax.SAXParseException; lineNumber: 1; 
>> columnNumber: 816; 在文件元素內容中找到無效的 XML 字元 (Unicode: 0x8)。
>> 
>> > xmlns:ns1="http://xml.apache.org/axis/";>org.xml.sax.SAXParseException; 
>> lineNumber: 1; columnNumber: 816; 在文件元素內容中找到無效的 XML 字元 (Unicode: 0x8)。
>> at 
>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
>> at 
>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
>> at 
>> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
>> at 
>> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
>> at 
>> com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465)
>> at 
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2920)
>> at 
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
>> at 
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)
>> at 
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:504)
>> at 
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
>> at 
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
>> at 
>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
>> at 
>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
>> at 
>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
>> at 
>> com.sun.org.a

Re: Cannot get all managed customers with java library: 在文件元素內容中找到無效的 XML 字元 (Unicode: 0x8)

2018-02-07 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
Hi,

Thank you for getting in contact with me. I was of the understanding that 
this was more of an occasional issue, and that it didn't happen that often. 
Now that you're reaching out again, I can see that it is a bit more 
serious. There currently is no timeline for this. However, since you've 
raised this as a concern that continues to be a problem, I have raised the 
issue's priority. May I ask how often this issue happens? Is it something 
that happens every day, or is it something that happens once a week? The 
reason I ask is because I ran a query on our logs over the last couple of 
weeks, and I haven't seen it happening, so I'm wondering if I may be 
missing it. If you do have a recent example of it, please send me the 
*requestId* of an example request that recently failed. If you don't have 
the *requestId*, then an example of the request like you did before will 
work as well.

Thanks,
Nadine, AdWords API Team

On Wednesday, February 7, 2018 at 4:04:29 AM UTC-5, w...@urad.com.tw wrote:
>
> Hi Nadine Sundquist,
>
> I'm curious that is there any update about this issue? We encountered this 
> issue again and again...
> Does AdWords API Team have any schedule for solving this issue? (Our 
> manager has been caring about this issue for a while, and we are asked to 
> propose some alternative solutions for this...)
> Thanks for your reading.
>
>
>
> Nadine Sundquist (AdWords API Team)於 2017年9月27日星期三 UTC+8上午12時11分28秒寫道:
>>
>> Hello,
>>
>> I found the issue, and it's a tricky one. The good thing is that the 
>> request you are making to the API is successful, so there is nothing wrong 
>> with your request. The issue is what is being returned. You are 
>> successfully getting a response. However, that response has hidden 
>> characters in it. When Java tries to parse it, it considers those hidden 
>> characters as invalid XML characters, and that is where you are getting the 
>> errors. I found one of the reasons, but there may be more than one reason. 
>> I'll send you the account with the hidden character issue in a separate, 
>> private email. I just wanted to make sure that people reading the forum in 
>> the future know to look for hidden characters when this happens.
>>
>> Best,
>> Nadine, AdWords API Team
>>
>> On Monday, September 25, 2017 at 11:46:07 PM UTC-4, 郭文豪 wrote:
>>>
>>> Request
>>> 
>>>
>>>
>>> 11:21:04.739 [main] INFO 
>>> com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
>>> SOAP request:
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
>>> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>>> http://www.w3.org/2001/XMLSchema-instance";>
>>> 
>>> https://adwords.google.com/api/adwords/mcm/v201708"; 
>>> soapenv:mustUnderstand="0">
>>> https://adwords.google.com/api/adwords/cm/v201708
>>> ">client-customer-id
>>> https://adwords.google.com/api/adwords/cm/v201708
>>> ">REDACTED
>>> https://adwords.google.com/api/adwords/cm/v201708";>unknown (AwApi-Java, 
>>> AdWords-Axis/3.8.0, Common-Java/3.8.0, Axis/1.4, Java/1.8.0_101, maven, 
>>> SelectorBuilder)
>>> https://adwords.google.com/api/adwords/cm/v201708
>>> ">false
>>> https://adwords.google.com/api/adwords/cm/v201708
>>> ">false
>>> 
>>> 
>>> 
>>> https://adwords.google.com/api/adwords/mcm/v201708";>
>>> 
>>> https://adwords.google.com/api/adwords/cm/v201708
>>> ">CustomerId
>>> https://adwords.google.com/api/adwords/cm/v201708";>Name
>>> https://adwords.google.com/api/adwords/cm/v201708";>
>>> 1040
>>> 20
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>> Response
>>> 
>>>
>>> 11:21:04.739 [main] INFO 
>>> com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
>>> SOAP response:
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
>>> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>>> http://www.w3.org/2001/XMLSchema-instance";>
>>> 
>>> 
>>> soapenv:Server.userException
>>> org.xml.sax.SAXParseException; lineNumber: 1; 
>>> columnNumber: 816; 在文件元素內容中找到無效的 XML 字元 (Unicode: 0x8)。
>>> 
>>> >> xmlns:ns1="http://xml.apache.org/axis/";>org.xml.sax.SAXParseException; 
>>> lineNumber: 1; columnNumber: 816; 在文件元素內容中找到無效的 XML 字元 (Unicode: 0x8)。
>>> at 
>>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
>>> at 
>>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
>>> at 
>>> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
>>> at 
>>> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
>>> at 
>>> com.sun.org.ap