Hi Kapil, You should not post SOAP logs without redacting the authToken and developerToken first. Please treat them like passwords.
I'll lookup the logs and see what caused the error. Cheers, Anash P. Oommen, AdWords API Advisor. On Monday, February 18, 2013 11:42:27 AM UTC+5:30, Kapil wrote: > > Hey Anash, > > The code is working now. But there is one issue. I cannot set category in > SearchParameter. So can you please tell if it is possible to set the > category. Also, this is the sanitized soap request and response xml > for UNEXPECTED_INTERNAL_API_ERROR:- > > INFO: Request made: Service: "TargetingIdeaServiceInterfacePort" Method: > "get" URL: " > https://adwords.google.com/api/adwords/o/v201209/TargetingIdeaService" > 13 Feb, 2013 5:59:29 PM > com.google.api.ads.common.lib.utils.logging.AdsServiceLoggers logSoapXml > WARNING: SOAP Request: > <?xml version="1.0" encoding="UTF-8"?> > <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> > <ns1:RequestHeader xmlns:ns1=" > https://adwords.google.com/api/adwords/o/v201209" > soapenv:mustUnderstand="0"> > <ns2:authToken xmlns:ns2=" > https://adwords.google.com/api/adwords/cm/v201209 > ">DQAAALMAAACD6YIXeN_1yKSiknqDzYVwqtJ6kNrwNr67Ioxi-0XxLO5m_m3ArOnuf2LwabgCrhYEDxQ8RJx8u2xTDNhWiLH5NAWHpt1g9XBUUgKL9tu4QeiTwUJ4CS79DridP5PgnQETf8Q5_7U4_YRRQPMFOuPPx7PcC04mVE97IHfPF1zf5wSh9IbAtkI-8RjiXraygkY8MOwfdxEDwNOWpcdcMZBph-z-Vqw3A-6bbHUIDm4uFnMrIWgm4JPZehvFnxfWyNc</ns2:authToken> > <ns3:clientCustomerId xmlns:ns3=" > https://adwords.google.com/api/adwords/cm/v201209 > ">xxxxxxx</ns3:clientCustomerId> > <ns4:developerToken xmlns:ns4=" > https://adwords.google.com/api/adwords/cm/v201209 > ">xxxxxxxxxxxxxxxx</ns4:developerToken> > <ns5:userAgent xmlns:ns5=" > https://adwords.google.com/api/adwords/cm/v201209">JavaAdWordsApplication > (AwApi-Java, AdWords-Axis/1.12.1, Common-Java/1.12.1, Axis/1.4, > Java/1.6.0_32, jars)</ns5:userAgent> > <ns6:validateOnly xmlns:ns6=" > https://adwords.google.com/api/adwords/cm/v201209 > ">false</ns6:validateOnly> > <ns7:partialFailure xmlns:ns7=" > https://adwords.google.com/api/adwords/cm/v201209 > ">false</ns7:partialFailure> > </ns1:RequestHeader> > </soapenv:Header> > <soapenv:Body> > <get xmlns="https://adwords.google.com/api/adwords/o/v201209"> > <selector> > <searchParameters xmlns:ns8=" > https://adwords.google.com/api/adwords/o/v201209" > xsi:type="ns8:RelatedToQuerySearchParameter"> > <ns8:queries>cheap air tickets</ns8:queries> > </searchParameters> > <searchParameters xmlns:ns9=" > https://adwords.google.com/api/adwords/o/v201209" > xsi:type="ns9:LocationSearchParameter"> > <ns9:locations> > <ns10:id xmlns:ns10=" > https://adwords.google.com/api/adwords/cm/v201209">2840</ns10:id> > </ns9:locations> > </searchParameters> > <searchParameters xmlns:ns11=" > https://adwords.google.com/api/adwords/o/v201209" > > xsi:type="ns11:CategoryProductsAndServicesSearchParameter"> > <ns11:categoryId>10017</ns11:categoryId> > </searchParameters> > <searchParameters xmlns:ns12=" > https://adwords.google.com/api/adwords/o/v201209" > xsi:type="ns12:LanguageSearchParameter"> > <ns12:languages> > <ns13:id xmlns:ns13=" > https://adwords.google.com/api/adwords/cm/v201209">1000</ns13:id> > </ns12:languages> > </searchParameters> > <ideaType>KEYWORD</ideaType> > <requestType>IDEAS</requestType> > <requestedAttributeTypes>KEYWORD_TEXT</requestedAttributeTypes> > > <requestedAttributeTypes>SEARCH_VOLUME</requestedAttributeTypes> > > <requestedAttributeTypes>TARGETED_MONTHLY_SEARCHES</requestedAttributeTypes> > > <requestedAttributeTypes>CATEGORY_PRODUCTS_AND_SERVICES</requestedAttributeTypes> > <requestedAttributeTypes>COMPETITION</requestedAttributeTypes> > <paging> > <ns14:startIndex xmlns:ns14=" > https://adwords.google.com/api/adwords/cm/v201209">0</ns14:startIndex> > <ns15:numberResults xmlns:ns15=" > https://adwords.google.com/api/adwords/cm/v201209 > ">800</ns15:numberResults> > </paging> > </selector> > </get> > </soapenv:Body> > </soapenv:Envelope> > 13 Feb, 2013 5:59:29 PM > com.google.api.ads.common.lib.utils.logging.AdsServiceLoggers logSoapXml > WARNING: SOAP Response: > <?xml version="1.0" encoding="UTF-8"?> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Header> > <ResponseHeader xmlns=" > https://adwords.google.com/api/adwords/o/v201209" > xmlns:ns2=" > https://adwords.google.com/api/adwords/cm/v201209"> > <ns2:requestId>0004d59a4b1f1e080a44fd850000111d</ns2:requestId> > <ns2:serviceName>AccountService</ns2:serviceName> > <ns2:methodName>get</ns2:methodName> > <ns2:operations>1</ns2:operations> > <ns2:responseTime>355</ns2:responseTime> > <ns2:units>6</ns2:units> > </ResponseHeader> > </soap:Header> > <soap:Body> > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ > com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]</faultstring> > <detail> > <ApiExceptionFault xmlns=" > https://adwords.google.com/api/adwords/o/v201209" > xmlns:ns2=" > https://adwords.google.com/api/adwords/cm/v201209"> > > <ns2:message>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ > com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]</ns2:message> > > <ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type> > <ns2:errors xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" > xsi:type="ns2:InternalApiError"> > <ns2:fieldPath/> > <ns2:trigger/> > > <ns2:errorString>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR</ns2:errorString> > <ns2:ApiError.Type>InternalApiError</ns2:ApiError.Type> > <ns2:reason>UNEXPECTED_INTERNAL_API_ERROR</ns2:reason> > </ns2:errors> > </ApiExceptionFault> > </detail> > </soap:Fault> > </soap:Body> > </soap:Envelope> > >> ** >> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.