Hi Eric, thanks for your answer. I am using the java-samples-api (http:// code.google.com/p/adwords-api-java-samples/) Can you tell me how to use the sandbox and the adwors-api-java- samples?
On 28 Okt., 15:58, AdWords API Advisor <[email protected]> wrote: > Hi, > > The XML namespace doesn't change when using the sandbox, only the > endpoint URL does. If you are new to the API you may want to take a > look at our Intro to the Sandbox > video:http://www.youtube.com/watch?v=cqVtUdB975M. > Additional information on the sandbox is available > here:http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbo.... > > Best, > - Eric Koleda, AdWords API Team > > On Oct 28, 10:20 am, "[email protected]" <[email protected]> wrote: > > > I Just tried the example from EstimateKeyword.java, set the > > properties: > > email,passwort,clientEmail,useragent,developerToken and > > applicationToken > > But still get an error. For namespace i choose: > > private static final String namespace = > > "https://sandbox.google.com/api/adwords/v13"; > > > I am using the current adwords-api 6.0.0. > > > The error is: > > > log4j:WARN No appenders could be found for logger > > (org.apache.axis.i18n.ProjectResourceBundle). > > log4j:WARN Please initialize the log4j system properly. > > AxisFault > > faultCode: {http://schemas.xmlsoap.org/soap/envelope/} > > Server.userException > > faultSubcode: > > faultString: The request did not contain a header named 'email'. > > faultActor: > > faultNode: > > faultDetail: > > {https://adwords.google.com/api/adwords/v13}fault: > > <ns1:code>1</ns1:code> > > <ns1:message>The request did not contain a header named 'email'.</ > > ns1:message> > > > The request did not contain a header named 'email'. > > 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.v13.ApiException.getDeserializer > > (ApiException.java:267) > > 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 org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown > > Source) > > at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement > > (Unknown Source) > > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl > > $FragmentContentDispatcher.dispatch(Unknown Source) > > at > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument > > (Unknown Source) > > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > > Source) > > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > > Source) > > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown > > Source) > > at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) > > 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.v13.TrafficEstimatorServiceSoapBindingStub.estimateK > > eywordList > > (TrafficEstimatorServiceSoapBindingStub.java:563) > > at EstimateKeyword.main(EstimateKeyword.java:52) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
