Hi Zachary,

I agree, the error message in v2009 wasn't very helpful in this case.
I'll raise this issue with the core development team to see if they
can make the exception more specific.

Best,
- Eric

On Aug 28, 5:51 pm, Zachary Shaw <zacharys...@gmail.com> wrote:
> I think what gave me the worst problems was I am new to the the
> Adwords API and the v2009 error messages didn't help.  It wasn't until
> I tried to do the same thing in v13 that I saw the error messages
> about a missing client.
>
> On Aug 28, 5:21 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
> wrote:
>
>
>
> > Hi Zachary,
>
> > I'm glad you were able to find the solution to your problem.  For the
> > benefit of anyone else that may be running into similar issues,
> > information on how to access the Sandbox environment can be found
> > here:http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbo....
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Aug 28, 5:13 pm, Zachary Shaw <zacharys...@gmail.com> wrote:
>
> > > After much head banging I figured out I needed a clientId and then
> > > after much more head banging I figured out the clientId for the
> > > sandbox was one of
> > > client_x+emailaddress  where x = 1 through 5
>
> > > On Aug 28, 12:00 pm, Zachary Shaw <zacharys...@gmail.com> wrote:
>
> > > > I get an error when trying to go against the sandbox using the
> > > > AddCampaignDemohttp://code.google.com/p/google-api-adwords-java/
> > > > v5.1.0
>
> > > > I'm not sure if it's a properties related issue. I have validated that
> > > > my login credentials are correct by posting an incorrect password I
> > > > get the "Could not get ClientLogin token for user." message.
>
> > > > Any suggestions would be much appreciated.
>
> > > > below are my properties:
>
> > > > # clientId and useSandbox are optional and may be commented out.
> > > > email=[what my email would be]
> > > > password=[what my password should be]
> > > > #clientId=INSERT_CLIENT_LOGIN_EMAIL_OR_ID_HERE
> > > > useragent=FOO BAR
> > > > developerToken=[what my email would be]++USD
> > > > #applicationToken=INSERT_APPLICATION_TOKEN_HERE
> > > > useSandbox=true
>
> > > > Here is the error I get:
>
> > > > AxisFault
> > > >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
> > > >  faultSubcode:
> > > >  faultString: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
> > > >  faultActor:
> > > >  faultNode:
> > > >  faultDetail:
> > > >         {https://adwords.google.com/api/adwords/cm/v200906}
> > > > ApiExceptionFault:<message>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> > > > @ </message><ApplicationException.Type>ApiException</
> > > > ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/
> > > > XMLSchema-instance" 
> > > > xsi:type="InternalApiError"><fieldPath/><trigger/><ApiError.Type>InternalAp
> > > >  iError</
>
> > > > ApiError.Type><reason>UNEXPECTED_INTERNAL_API_ERROR</reason></errors>
>
> > > > InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
> > > >         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > > > Method)
> > > >         at sun.reflect.NativeConstructorAccessorImpl.newInstance
> > > > (NativeConstructorAccessorImpl.java:39)
> > > >         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
> > > > (DelegatingConstructorAccessorImpl.java:27)
> > > >         at 
> > > > java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> > > >         at java.lang.Class.newInstance0(Class.java:355)
> > > >         at java.lang.Class.newInstance(Class.java:308)
> > > >         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.v200906.ApiException.getDeserializer
> > > > (ApiException.java:142)
> > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > > > (NativeMethodAccessorImpl.java:39)
> > > >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > > (DelegatingMethodAccessorImpl.java:25)
> > > >         at java.lang.reflect.Method.invoke(Method.java:597)
> > > >         at 
> > > > org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized
> > > > (BaseDeserializerFactory.java:154)
> > > >         at
> > > > org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs
> > > > (BaseDeserializerFactory.java:84)
> > > >         at 
> > > > org.apache.axis.encoding.DeserializationContext.getDeserializer
> > > > (DeserializationContext.java:464)
> > > >         at
> > > > org.apache.axis.encoding.DeserializationContext.getDeserializerForType
> > > > (DeserializationContext.java:547)
> > > >         at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild
> > > > (SOAPFaultDetailsBuilder.java:157)
> > > >         at org.apache.axis.encoding.DeserializationContext.startElement
> > > > (DeserializationContext.java:1035)
> > > >         at
> > > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> > > > (AbstractSAXParser.java:501)
> > > >         at
> > > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartE
> > > >  lement
> > > > (XMLNSDocumentScannerImpl.java:400)
> > > >         at
> > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
> > > > $FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
> > > >         at 
> > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> > > > (XMLDocumentScannerImpl.java:648)
> > > >         at
> > > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> > > > (XMLNSDocumentScannerImpl.java:140)
> > > >         at
> > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan
> > > >  Document
> > > > (XMLDocumentFragmentScannerImpl.java:510)
> > > >         at 
> > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > > > (XML11Configuration.java:807)
> > > >         at 
> > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > > > (XML11Configuration.java:737)
> > > >         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> > > > (XMLParser.java:107)
> > > >         at 
> > > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> > > > (AbstractSAXParser.java:1205)
> > > >         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
> > > > $JAXPSAXParser.parse(SAXParserImpl.java:522)
> > > >         at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
> > > >         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.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
> > > > com.google.api.adwords.v200906.CampaignServiceSoapBindingStub.mutate
> > > > (CampaignServiceSoapBindingStub.java:964)
> > > >         at v200906.AddCampaignDemo.main(AddCampaignDemo.java:65)
--~--~---------~--~----~------------~-------~--~----~
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