Last night, a bit after 9 PM Pacific time, our TargetingIdeaService calls began failing consistently with an UNEXPECTED_INTERNAL_API_ERROR. This did not affect any of our other Adwords API calls - just the TargetingIdeaService.
Now, we've had periodic failed calls on this in the past, but never this long or this continuous unless it was caused by a connectivity problem. Which it clearly isn't since all our other API calls to other services are working fine. We upgraded all of our Adwords API calls to use the v201109 API, and the PHP library version 2.7.2 in January so we wouldn't be hit by sunset issues, and everything was working fine up to last night. I'm slightly worried because I just looked at the PHP library and saw it was upgraded to version 3.0.0 at the end of January (after we did the conversion). Could there have been some change in the API which was internal to the library? This would be a problem because upgrading libraries for us is a highly non-trivial task -- we have a bunch of code which patches and extends the libraries so we can use CURL for the communications instead of the built in PHP SOAP - because with CURL we can specify a timeout in case of a connectivity issue. (We've had calls hang for days where the connection failed halfway through the response…) I'm hoping this can be fixed without a library upgrade. I've appended a sanitized version of the SOAP logs of one of the failed calls to the end of this post. Any ideas? -->Steve Bennett [Mar 06 2012 08:22:50.000000 - ERROR] POST /api/adwords/o/v201109/TargetingIdeaService HTTP/1.1 Host: adwords.google.com Accept: */* Content-Type: text/xml Content-Length: 2443 Expect: 100-continue <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201109" xmlns:ns2="https://adwords.google.com/api/adwords/o/v201109"> <SOAP-ENV:Header> <ns2:RequestHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:SoapHeader"> <ns1:authToken>*****</ns1:authToken> <ns1:developerToken>*****</ns1:developerToken> <ns1:userAgent>AwApi-PHP-2.7.2-*****</ns1:userAgent> </ns2:RequestHeader> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns2:get> <ns2:selector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:TargetingIdeaSelector"> <ns2:searchParameters xsi:type="ns2:RelatedToKeywordSearchParameter"> <ns2:keywords xsi:type="ns1:Keyword"> <ns1:text>*****</ns1:text> <ns1:matchType>EXACT</ns1:matchType> </ns2:keywords> </ns2:searchParameters> <ns2:searchParameters xsi:type="ns2:KeywordMatchTypeSearchParameter"> <ns2:keywordMatchTypes>EXACT</ns2:keywordMatchTypes> </ns2:searchParameters> <ns2:searchParameters xsi:type="ns2:LanguageSearchParameter"> <ns2:languages xsi:type="ns1:Language"> <ns1:id>1000</ns1:id> </ns2:languages> </ns2:searchParameters> <ns2:searchParameters xsi:type="ns2:LocationSearchParameter"> <ns2:locations xsi:type="ns1:Location"> <ns1:id>2840</ns1:id> </ns2:locations> </ns2:searchParameters> <ns2:searchParameters xsi:type="ns2:IncludeAdultContentSearchParameter"/> <ns2:ideaType>KEYWORD</ns2:ideaType> <ns2:requestType>IDEAS</ns2:requestType> <ns2:requestedAttributeTypes>CRITERION</ns2:requestedAttributeTypes> <ns2:requestedAttributeTypes>COMPETITION</ns2:requestedAttributeTypes> <ns2:requestedAttributeTypes>AVERAGE_TARGETED_MONTHLY_SEARCHES</ns2:requestedAttributeTypes> <ns2:requestedAttributeTypes>GLOBAL_MONTHLY_SEARCHES</ns2:requestedAttributeTypes> <ns2:requestedAttributeTypes>AD_SHARE</ns2:requestedAttributeTypes> <ns2:requestedAttributeTypes>SEARCH_SHARE</ns2:requestedAttributeTypes> <ns2:requestedAttributeTypes>TARGETED_MONTHLY_SEARCHES</ns2:requestedAttributeTypes> <ns2:paging xsi:type="ns1:Paging"> <ns1:startIndex>0</ns1:startIndex> <ns1:numberResults>800</ns1:numberResults> </ns2:paging> </ns2:selector> </ns2:get> </SOAP-ENV:Body> </SOAP-ENV:Envelope> <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ResponseHeader xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201109" xmlns="https://adwords.google.com/api/adwords/o/v201109"> <ns2:requestId>0004ba9572ceda580a8756220000450d</ns2:requestId> <ns2:serviceName>AccountService</ns2:serviceName> <ns2:methodName>get</ns2:methodName> <ns2:operations>1</ns2:operations> <ns2:responseTime>4577</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/v201109" xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201109"> <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 [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
