Hi Raghavendra,

When using the InfoService please ensure you aren't setting the
clientEmail header.  Requests to this service must be made as the MCC
user that owns the developer token.

Best,
- Eric Koleda, AdWords API Team

On Feb 15, 12:18 am, RAGHAVENDRA SUDHA
<raghav.sudha2...@googlemail.com> wrote:
> Hi,
>  i am getting an error for which i am not able to understand.
>  For some reason when i am trying to connect to API, for infoservice i am
> receiving the following error.
>
> --------------------------------------------------------------------------
> ERROR Occured while using --> SOAP UTIL
> *   <soapenv:Body>
>       <soapenv:Fault>
>          <faultcode>soapenv:Server.userException</faultcode>
>          <faultstring>One or more input elements failed
> validation.</faultstring>
>          <detail>
>             <ns1:fault xmlns:ns1="https://adwords.google.com/api/adwords/v13
> ">
>                <ns1:code>122</ns1:code>
>                <ns1:message>One or more input elements failed
> validation.</ns1:message>
>                <ns1:errors>
>                   <ns1:index>0</ns1:index>
>                   <ns1:field>clientEmail</ns1:field>
>                   <ns1:trigger>xx...@xyz.com</ns1:trigger>
>                   <ns1:code>4</ns1:code>
>                   <ns1:isExemptable>false</ns1:isExemptable>
>                   <ns1:detail>Either this object does not exist, or this
> user does not have permission to access it.</ns1:detail>
>                </ns1:errors>
>             </ns1:fault>
>          </detail>
>       </soapenv:Fault>
>    </soapenv:Body>
> </soapenv:Envelope>
> *
> --------------------------------------------------------------------------- 
> ----
> THROUGH MY JAVA APP:
> faultDetail:
>     {https://adwords.google.com/api/adwords/v13}fault:
>        <ns1:code>122</ns1:code>
>        <ns1:message>One or more input elements failed
> validation.</ns1:message>
>
>       <ns1:errors>
>         <ns1:index>0</ns1:index>
>
>         <ns1:field>clientEmail</ns1:field>
>
>         <ns1:trigger>xx...@xyz.com</ns1:trigger>
>
>         <ns1:code>4</ns1:code>
>
>         <ns1:isExemptable>false</ns1:isExemptable>
>
>         <ns1:detail>Either this object does not exist, or this user does not
> have permission to access it.</ns1:detail>
>
>      </ns1:errors>
>
> One or more input elements failed validation.
>     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.v13.ApiException.getDeserializer(ApiException.java:2 
> 67)
>     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
> org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDes 
> erializerFactory.java:154)
>     at
> org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(Base 
> DeserializerFactory.java:84)
>     at
> org.apache.axis.encoding.DeserializationContext.getDeserializer(Deserializa 
> tionContext.java:464)
>     at
> org.apache.axis.encoding.DeserializationContext.getDeserializerForType(Dese 
> rializationContext.java:547)
>     at
> org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetai 
> lsBuilder.java:157)
>     at
> org.apache.axis.encoding.DeserializationContext.startElement(Deserializatio 
> nContext.java:1035)
>     at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(U 
> nknown
> Source)
>     at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartE 
> lement(Unknown
> Source)
>     at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Frag 
> mentContentDriver.next(Unknown
> Source)
>     at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
> Source)
>     at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unkno wn
> Source)
>     at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan 
> Document(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)
>     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
> Source)
>     at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
> Source)
>     at
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(U 
> nknown
> Source)
>     at javax.xml.parsers.SAXParser.parse(Unknown Source)
>     at
> org.apache.axis.encoding.DeserializationContext.parse(DeserializationContex 
> t.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:79 6)
>     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.adwords.v13.InfoServiceSoapBindingStub.getUnitCountForClient 
> s(InfoServiceSoapBindingStub.java:595)
> --------------------------------------------------------------------------- 
> ---------------------
>
> but when i am  trying to connect with the same credentials for any other
> service, i am able to connect and pull the data.
> 1. do we need to have some special permissions while we connect for info
> service.
> 2. what situations these types of errors occur.
>
> please help me out on this one,
>
> thank you,
> Raghavendra Sudha.

-- 
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-...@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