Good morning, everyone!

I am using the AdWords API using the Java programming language.

I was able to connect, and managed to get the entire hierarchy of my
mcc. But if I try to connect to a client account, it throws an
exception.

The Id is correct, I tried putting it in the following formats:

1111111111 (AuthenticationError.CUSTOMER_NOT_FOUND)
111-111-1111 (invalid ID)
cli...@gmail.com (invalid ID)

I would like to know what the correct way to connect with the
customer's account.

I am trying as follows:

AdWordsUser AdWordsUser user = new ("myem...@gmail.com", "mypassword",
"1111111111", "MyUserAgent", "MyToken", true);

I've tried with several other customers and the same thing happens.

Following is the exception:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/} Server
 faultSubcode:
 faultString: @ AuthenticationError.CUSTOMER_NOT_FOUND; trigger:
'1111111111 'Service [CampaignService.get]
 faultActor:
 faultNode:
 faultDetail:
@; Trigger: 1111111111 ' xmlns: xsi = "http://www.w3.org/2001/
XMLSchema-instance"

AuthenticationError.CUSTOMER_NOT_FOUND @; trigger: '1111111111
'Service [CampaignService.get]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance (Unknown
Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (Unknown
Source)
at java.lang.reflect.Constructor.newInstance (Unknown Source)
at java.lang.Class.newInstance0 (Unknown Source)
at java.lang.Class.newInstance (Unknown Source)
at org.apache.axis.encoding.ser.BeanDeserializer. <init>
(BeanDeserializer.java: 104)
at org.apache.axis.encoding.ser.BeanDeserializer. <init>
(BeanDeserializer.java: 90)
at com.google.api.adwords.v200909.cm.ApiException.getDeserializer
(ApiException.java: 142)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
at java.lang.reflect.Method.invoke (Unknown Source)
at
at
at org.apache.axis.encoding.DeserializationContext.getDeserializer
(DeserializationContext.java: 464)
at
at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild
(SOAPFaultDetailsBuilder.java: 157)
at org.apache.axis.encoding.DeserializationContext.startElement
(DeserializationContext.java: 1035)
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
at (Unknown Source)
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
at (Unknown Source)
at Source)
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next at
(Unknown Source)
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
at (Unknown Source)
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
at (Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(Unknown Source)
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse at (Unknown
Source)
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse at
(Unknown Source)
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
JAXPSAXParser.parse at $ (Unknown Source)
at javax.xml.parsers.SAXParser.parse (Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse
(DeserializationContext.java: 227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope (SOAPPart.java: 696)
org.apache.axis.Message.getSOAPEnvelope at (Message.java: 435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke
(MustUnderstandChecker.java: 62)
at org.apache.axis.client.AxisClient.invoke (AxisClient.java: 206)
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
at Teste.main (Teste.java: 50)

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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