Hello, I unfortunately don't have a straightforward way of looking up Sandbox requests based solely on the request id. Could you please take a look at the actual SOAP request XML and check to make sure that there is both an "email" and "clientEmail" header set, and that they're set to the values you expect?
Cheers, -Jeff Posnick, AdWords API Team On Jan 29, 3:41 am, square <testr...@gmail.com> wrote: > Please look into requestId=71afca10d39ccda1c1bf8571fc67f504 in > sandbox. Thanks. > > <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/v13">24</responseTime> > <operations soapenv:actor="http://schemas.xmlsoap.org/soap/actor/ > next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ > adwords/v13">1</operations> > <units soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" > soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ > adwords/v13">1</units> > <requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/ > next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ > adwords/v13">71afca10d39ccda1c1bf8571fc67f504</requestId> > </soapenv:Header> > <soapenv:Body> > <soapenv:Fault> > <faultcode>soapenv:Server.userException</faultcode> > <faultstring>Client managers cannot have campaigns of their own.</ > faultstring> > <detail> > <ns1:fault xmlns:ns1="https://adwords.google.com/api/adwords/ > v13"> > <ns1:code>138</ns1:code> > <ns1:message>Client managers cannot have campaigns of their > own.</ns1:message> > </ns1:fault> > </detail> > </soapenv:Fault> > </soapenv:Body> > </soapenv:Envelope> > > On Jan 7, 8:28 am, AdWords API Advisor <adwordsapiadvi...@google.com> > wrote: > > > Hello, > > > I don't have any other potential cause for that error other than not > > including a clientEmail header in your addCampaign() request. I know > > that you say your credentials are set up to include that header, but > > if your credentials are being read from an external file, are you sure > > that you're editing the right copy of that file? Can you log your > > outgoing SOAP messages and take a look at exactly which headers are > > being set? > > > Cheers, > > -Jeff Posnick, AdWords API Team > > > On Jan 7, 4:18 am, PSPL Noida <psplno...@gmail.com> wrote:> I still getting > > exception..... > > > > i have used credentials as: > > > email= psplno...@gmail.com > > > password= ******* > > > developerToken= psplno...@gmail.com++inr > > > applicationToken= akjenskamlskdjaklsmnkl > > > useragent= INSERT_COMPANY_NAME > > > clientEmail= client_1+psplno...@gmail.com > > > alternateUrl=https://sandbox.google.com > > > > Error: > > > > Exception in thread "main" AxisFault > > > faultCode: {http://schemas.xmlsoap.org/soap/envelope/} > > > Server.userException > > > faultSubcode: > > > faultString: Client managers cannot have campaigns of their own. > > > faultActor: > > > faultNode: > > > faultDetail: > > > {https://adwords.google.com/api/adwords/v12}fault: > > > <ns1:code>138</ns1:code> > > > > <ns1:message>Client managers cannot have campaigns of their > > > own.</ns1:message> > > > > Client managers cannot have campaigns of their own. > > > 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: > > > 494) > > > at java.lang.Class.newInstance0(Class.java:350) > > > at java.lang.Class.newInstance(Class.java:303) > > > 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.v12.ApiException.getDeserializer > > > (ApiException.java:264) > > > 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:585) > > > 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:533) > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartE > > > lement > > > (XMLNSDocumentScannerImpl.java:330) > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl > > > $FragmentContentDispatcher.dispatch > > > (XMLDocumentFragmentScannerImpl.java:1693) > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan > > > Document > > > (XMLDocumentFragmentScannerImpl.java:368) > > > at > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse > > > (XML11Configuration.java:834) > > > at > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse > > > (XML11Configuration.java:764) > > > at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse > > > (XMLParser.java:148) > > > at > > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse > > > (AbstractSAXParser.java:1242) > > > at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) > > > 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:424) > > > 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:2765) > > > at org.apache.axis.client.Call.invoke(Call.java:2748) > > > at org.apache.axis.client.Call.invoke(Call.java:2424) > > > at org.apache.axis.client.Call.invoke(Call.java:2347) > > > at org.apache.axis.client.Call.invoke(Call.java:1804) > > > at > > > com.google.api.adwords.v12.CampaignServiceSoapBindingStub.addCampaign_aroun > > > dBody0 > > > (CampaignServiceSoapBindingStub.java:514) > > > at > > > com.google.api.adwords.v12.CampaignServiceSoapBindingStub.addCampaign_aroun > > > dBody1$advice > > > (CampaignServiceSoapBindingStub.java:142) > > > at > > > com.google.api.adwords.v12.CampaignServiceSoapBindingStub.addCampaign > > > (CampaignServiceSoapBindingStub.java:1) > > > at example.CampaignServiceDemo.main(CampaignServiceDemo.java: > > > 89) > > > Java Result: 1 > > > BUILD SUCCESSFUL (total time: 4 seconds) > > > > On Jan 7, 2:34 am, purdue512 <a...@hubshout.com> wrote: > > > > > WOW - That's really helpful. Thanks. > > > > > It worked. Now I see my trial accounts. > > > > > This should be on your "Getting Started" instructions. > > > > > The part about the clientEmail header is nowhere to be found (unless I > > > > missed it). > > > > > On Jan 6, 11:14 am, AdWords API Advisor <adwordsapiadvi...@google.com> > > > > wrote: > > > > > > Hello, > > > > > > Here's the full process: > > > > > > 1. Create a new GMail account (or use an existing GMail account, but > > > > > it's nice to keep things separate) > > > > > 2. Make a getClientAccounts() call to the Sandbox with the following > > > > > headers set: > > > > > email: address of the GMail account > > > > > password: password of the GMail account > > > > > useragent: set to any identifying string > > > > > developerToken: set to the value for email, with the string '+ > > > > > +USD' (or the currency code of your choice) appended > > > > > applicationToken: ignored, and could be set to anything or left out > > > > > clientEmail: should be set either to the empty string or left out > > > > > 2a. Making this call is what creates the 5 client accounts in the > > > > > Sandbox's datastore. The accounts are named client_1+[email] through > > > > > client_5+[email]. > > > > > 3. For all future Sandbox calls, set the headers as mentioned in step > > > > > 2, with one change: include a clientEmail header with the value set to > > > > > client_n+[email], e.g. 'client_1+exam...@gmail.com'. > > > > > > Whenever the Sandbox's datastore is refreshed, the client accounts > > > > > are wiped out and you'd need to start from step 2 to recreate them. > > > > > Sandbox refreshes happen about once a month. > > > > > > Cheers, > > > > > -Jeff Posnick, AdWords API Team > > > > > > On Jan 5, 6:41 pm, purdue512 <a...@hubshout.com> wrote: > > > > > > > I also found the following posted elsewhere. This doesn't exactly > > > > > > clear it up for me. Will the 5 sub-accounts be emailed to me or is > > > > > > there a call to see them? I can't find any reference to this > > > > > > anywhere.. > > > > > > > Many thanks. > > > > > > > Patrick Chanezon Aug 17, 2006 > > > > > > > I'm sorry about all the > > ... > > read more » --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---