Hi, I followed up with you offline regarding this error.
Best, - Eric Koleda, AdWords API Team On Thursday, February 23, 2012 3:17:22 PM UTC-5, DJAIN wrote: > > On digging into further, found that LocationCriteriaService is always > throwing this RateExceededError. Even the sample code > “GetLocationCriteria.java” > at > http://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v201109/GetLocationCriteria.java > is > throwing the same error on the first request itself. We retried the same > request after 30 seconds but still the same error. > > Please advise on this issue at earliest as we cannot do Geo Targeting > anymore. Below is SOAP request and response for this operation: > > *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 > soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" > soapenv:mustUnderstand="0" xmlns:ns1=" > https://adwords.google.com/api/adwords/cm/v201109"><ns1:authToken>XXXXXXXXX</ns1:authToken><ns1:clientCustomerId>0000000000</ns1:clientCustomerId><ns1:developerToken>XXXXXXXXXXXXXX</ns1:developerToken><ns1:userAgent>AdWords > > API Java Client Library - v8.4.2 - > test</ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly><ns1:partialFailure>false</ns1:partialFailure></ns1:RequestHeader></soapenv:Header><soapenv:Body><get > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns=" > https://adwords.google.com/api/adwords/cm/v201109"><selector><fields>Id</fields><fields>LocationName</fields><fields>CanonicalName</fields><fields>DisplayType</fields><fields>ParentLocations</fields><fields>Reach</fields><predicates><field>LocationName</field><operator>IN</operator><values>United > > States</values></predicates><predicates><field>Locale</field><operator>EQUALS</operator><values>en</values></predicates></selector></get></soapenv:Body></soapenv:Envelope> > > > > *Response:* > > 2012-02-23 11:35:57,427 DEBUG [org.apache.axis.transport.http.HTTPSender] > HTTP/1.0 > 500 Internal Server Error > > 2012-02-23 11:35:57,427 DEBUG [org.apache.axis.transport.http.HTTPSender] > Content-Type text/xml; charset=UTF-8 > > 2012-02-23 11:35:57,427 DEBUG [org.apache.axis.transport.http.HTTPSender] > Date Thu, 23 Feb 2012 19:34:36 GMT > > 2012-02-23 11:35:57,427 DEBUG [org.apache.axis.transport.http.HTTPSender] > Expires Thu, 23 Feb 2012 19:34:36 GMT > > 2012-02-23 11:35:57,427 DEBUG [org.apache.axis.transport.http.HTTPSender] > Cache-Control private, max-age=0 > > 2012-02-23 11:35:57,427 DEBUG [org.apache.axis.transport.http.HTTPSender] > X-Content-Type-Options nosniff > > 2012-02-23 11:35:57,427 DEBUG [org.apache.axis.transport.http.HTTPSender] > X-Frame-Options SAMEORIGIN > > 2012-02-23 11:35:57,427 DEBUG [org.apache.axis.transport.http.HTTPSender] > X-XSS-Protection 1; mode=block > > 2012-02-23 11:35:57,427 DEBUG [org.apache.axis.transport.http.HTTPSender] > Server GSE > > <soap:Envelope > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader > > xmlns="https://adwords.google.com/api/adwords/cm/v201109"><requestId>0004b9a6bbff64080a42482400000dad</requestId><serviceName>LocationCriterionService</serviceName><methodName>get</methodName><operations>0</operations><responseTime>98</responseTime><units>0</units></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>RateExceededError > > <rateName=Requests, rateKey=developer_service_qps, rateScope=DEVELOPER, > retryAfterSeconds=30></faultstring><detail><ApiExceptionFault xmlns=" > https://adwords.google.com/api/adwords/cm/v201109"><message>RateExceededError > <rateName=Requests, rateKey=developer_service_qps, rateScope=DEVELOPER, > retryAfterSeconds=30></message><ApplicationException.Type>ApiException</ApplicationException.Type><errors > > xsi:type="RateExceededError" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance > "><fieldPath/><trigger/><errorString>RateExceededError.RATE_EXCEEDED > </errorString><ApiError.Type>RateExceededError</ApiError.Type><reason>RATE_EXCEEDED</reason><rateName>Requests</rateName><rateScope>DEVELOPER</rateScope><retryAfterSeconds>30</retryAfterSeconds></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 [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
