InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.

54 views
Skip to first unread message

Ashish Kalathiya

unread,
Oct 5, 2021, 11:28:47 AM10/5/21
to AdWords API and Google Ads API Forum
Hi,
I am getting below error.

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
<SOAP-ENV:Header>
<ns1:RequestHeader>
<ns1:clientCustomerId>----------</ns1:clientCustomerId>
<ns1:developerToken>REDACTED</ns1:developerToken>
<ns1:userAgent>Company_Name (AwApi-PHP, googleads-php-lib/34.0.0, PHP/5.6.14)</ns1:userAgent>
<ns1:validateOnly>false</ns1:validateOnly>
<ns1:partialFailure>false</ns1:partialFailure>
</ns1:RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:get>
<ns1:serviceSelector>
<ns1:fields>AdGroupId</ns1:fields>
<ns1:fields>Id</ns1:fields>
<ns1:fields>CriteriaType</ns1:fields>
<ns1:fields>KeywordMatchType</ns1:fields>
<ns1:fields>KeywordText</ns1:fields>
<ns1:fields>Status</ns1:fields>
<ns1:predicates>
<ns1:field>AdGroupId</ns1:field>
<ns1:operator>IN</ns1:operator>
<ns1:values>------------</ns1:values>
</ns1:predicates>
<ns1:predicates>
<ns1:field>CriteriaType</ns1:field>
<ns1:operator>IN</ns1:operator>
<ns1:values>KEYWORD</ns1:values><
 /ns1:predicates>
<ns1:ordering>
<ns1:field>KeywordText</ns1:field>
<ns1:sortOrder>ASCENDING</ns1:sortOrder>
</ns1:ordering>
<ns1:paging>
<ns1:startIndex>0</ns1:startIndex>
<ns1:numberResults>500</ns1:numberResults>
</ns1:paging>
</ns1:serviceSelector>
</ns1:get>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Google Ads API Forum Advisor

unread,
Oct 6, 2021, 3:46:02 AM10/6/21
to ashish.k...@comfortclick.co.uk, adwor...@googlegroups.com
Hi Ashish,

The UNEXPECTED_INTERNAL_API_ERROR usually occurs when something unexpected happened while processing the request. Below are the common causes.
  • Temporary resource related issues in the AdWords API server
  • The API isn't functioning correctly due to a bug
What we can suggest is to submit the request after 30 seconds. If the problem persists, kindly provide the SOAP request and response logs showing the behavior for us to check this further via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Regards,
Google Logo
Teejay Wennie Pimentel
Google Ads API Team
 


ref:_00D1U1174p._5004Q2PGzEF:ref

Google Ads API Forum Advisor

unread,
Oct 10, 2021, 11:22:13 PM10/10/21
to ashish.k...@comfortclick.co.uk, adwor...@googlegroups.com

Hello Ashish,

Thanks for getting back to us and for confirming that this error occurs frequently.

As previously mentioned by my colleague (Ernie), were you able to retry the API request? Can you share to us the updated SOAP logs (request and response with requestId)? Once provided, we will be raising this to the team along with the old and new logs for further checking.

Please send the requested details via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Regards,

Google Logo
Mark Kevin Albios
Google Ads API Team
 


ref:_00D1U1174p._5004Q2PGzEF:ref
Reply all
Reply to author
Forward
0 new messages