RE: UNEXPECTED_INTERNAL_API_ERROR

325 views
Skip to first unread message
Message has been deleted

Google Ads API Forum Advisor

unread,
Feb 24, 2022, 1:53:10 AM2/24/22
to in...@outleads.com, adwor...@googlegroups.com
Hi,

Thank you for raising this concern to Google Ads API Forum.

I would like to inform you first that I am going to delete your initial post as it contains sensitive information. I just pasted the context of your concern below without the sensitive information: 

"We keep on getting UNEXPECTED_INTERNAL_API_ERROR when calling getCustomers() when using a specific client's token. All other API calls using this token are coming through fine and the getCustomers() call is coming through fine using all of our other clients' tokens.

This error keeps on occurring over the past 24 hours. We also asked the client to re-authorize access, which generated a new token, but the error persists.

There are plenty of requests, but one example is request ID: redacted ."


Moving forward, did you try use CustomerService in Google Ads API to get list of customers?

Please note that the Adwords API is deprecated, and almost about to be sunset, so it is unlikely we will investigate or fix issues in it at this point. We strongly recommend that you migrate to the Google Ads API as soon as possible.

To help in your migration, I suggest you to refer to this documentation guide and let us know if you have any concerns while using Google Ads API.

Best regards,
Google Logo
Jinky
Google Ads API Team
 


ref:_00D1U1174p._5004Q2WyTcV:ref

Outleads Team

unread,
Feb 24, 2022, 8:25:05 PM2/24/22
to ads...@forumsupport.google, in...@outleads.com, adwor...@googlegroups.com
Noted about the request ID, we were unaware of the sensitive nature of this field.

We are aware of the Ads API as well as the sunset schedule. We're working tirelessly on migrating our software to the new API but we were counting on the AdWords API to be functional until the sunset date, especially since the client in question is one of the world's most well-known companies.

Until we're ready to redirect the request to the Ads API, is there anything else that could be done?
--
Best,
The Outleads Team


Google Ads API Forum Advisor

unread,
Feb 28, 2022, 11:53:42 AM2/28/22
to in...@outleads.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

The InternalApiError.UNEXPECTED_INTERNAL_API_ERROR could be due to a temporary issue with the API. Can you please try making the call again? We strongly recommend that you can use Google Ads API to get customer list.

Let me know if you have any question.

Thanks,
Google Logo
Nirmita
Google Ads API Team
 


ref:_00D1U1174p._5004Q2WyTcV:ref

Hugo Luna

unread,
Mar 1, 2022, 10:34:10 AM3/1/22
to Google Ads API and AdWords API Forum
Hi,

We are experiencing the same issue for some of our clients.

The issue doesn't seem temporary, since yesterday every time we try the call to " https://adwords.google.com/api/adwords/mcm/v201809/CustomerService" we consistently get the error:

[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]  

While we understand that this endpoint will be sunsetting soon, We agree 100% with Outleads, that the api should be functional until the actual sunset date

Everybody is working hard on doing the migration, but we still need to provide continuous service to our mutual clients

I can reply in private with the example soap call and response if needed

Sincerely,
Hugo Luna

paco...@webrepublic.ch

unread,
Mar 2, 2022, 3:23:07 AM3/2/22
to Google Ads API and AdWords API Forum
Hi,

We are also experiencing the same issue for some of our products and users. We also agree with Outleads and TapClicks that the API should continue working until the sunset date.

Kind regards,
Paco

Google Ads API Forum Advisor

unread,
Mar 2, 2022, 8:53:11 AM3/2/22
to paco...@webrepublic.ch, adwor...@googlegroups.com
Hi Hugo and Paco,

I already raised the issue about the internal error to my team with the SOAP logs of the Outleads team. With this, so that we can also raise your issue to my team, then please also provide the complete SOAP request and response that generated on your end so we can see the error. With the help of your SOAP logs we can determine if there's a common reason why this error occuring.

You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsapi-support@google.com alias instead.

Best regards,
Google Logo
Jinky
Google Ads API Team
 


ref:_00D1U1174p._5004Q2WyTcV:ref

Google Ads API Forum Advisor

unread,
Mar 3, 2022, 10:09:32 AM3/3/22
to adwor...@googlegroups.com, paco...@webrepublic.ch
Greetings Everyone,

Thank you so much for providing all the input. Thanks to your help, we were able to pinpoint the issue, and we're actively working on a fix for this. It is our highest priority right now. I'll give an update once the issue is fixed. 

Best,
Google Logo
Nadine Wang
Google Ads API Team
 
 

ref:_00D1U1174p._5004Q2WyTcV:ref

Google Ads API Forum Advisor

unread,
Mar 3, 2022, 5:28:26 PM3/3/22
to adwor...@googlegroups.com, paco...@webrepublic.ch
Hello Everyone,

Here's an update on this. We're close to rolling the fix out. I'll give an update when the rollout is complete.

Cheers,
Nadine, Google Ads API Team

ref:_00D1U1174p._5004Q2WyTcV:ref

Megan Derner

unread,
Mar 4, 2022, 6:27:42 PM3/4/22
to Google Ads API and AdWords API Forum
Hey Google team, 

Is there a timeline for the fix you're planning to roll out? We have several customers running into this error ahead of our release of the new Google Ads API. 

Thanks in advance!

Google Ads API Forum Advisor

unread,
Mar 5, 2022, 9:18:17 AM3/5/22
to adwor...@googlegroups.com, paco...@webrepublic.ch
Hello Everyone,

The fix is now fully rolled out. You should no longer be receiving these errors. If anyone is still receiving unexpected internal API errors for this method, please get back to me.

Thanks,

Ergin Demirel

unread,
Mar 17, 2022, 6:47:11 PM3/17/22
to Google Ads API and AdWords API Forum
Hello, 

We are still experiencing this issue with one of our customers as of March 13th and retrying doesn't help. As mentioned by the others, this is working fine for the rest of our customers. You can find the stack trace below. Please let me know if you need further information. 

2022-03-15 22:39:51,218 INFO [Thread-20] com.google.api.ads.adwords.lib.client.A dWordsServiceClient.soapXmlLogger: SOAP response: &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no& quot;?&gt; &lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quo t;&gt; &lt;soap:Header&gt; &lt;ns2:ResponseHeader xmlns=&quot;https://adwords.google.com/api/adword s/cm/v201809&quot; xmlns:ns2=&quot;https://adwords.google.com/api/adwords/rm/v20 1809&quot;&gt; &lt;requestId&gt;0005da497652aa720a81c9045d07da2a&lt;/requestId&gt; &lt;serviceName&gt;OfflineDataUploadService&lt;/serviceName&gt; &lt;methodName&gt;mutate&lt;/methodName&gt; &lt;operations&gt;2000&lt;/operations&gt; &lt;responseTime&gt;8701&lt;/responseTime&gt; &lt;/ns2:ResponseHeader&gt; &lt;/soap:Header&gt; &lt;soap:Body&gt; &lt;soap:Fault&gt; &lt;faultcode&gt;soap:Server&lt;/faultcode&gt; &lt;faultstring&gt;[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.&amp;lt;init&amp;gt;( InternalApiErro]&lt;/faultstring&gt; &lt;detail&gt; &lt;ns2:ApiExceptionFault xmlns=&quot;https://adwords.google.com /api/adwords/cm/v201809&quot; xmlns:ns2=&quot;https://adwords.google.com/api/adw ords/rm/v201809&quot;&gt; &lt;message&gt;[InternalApiError.UNEXPECTED_INTERNAL_API_ERR OR @ com.google.ads.api.services.common.error.InternalApiError.&amp;lt;init&amp; gt;(InternalApiErro]&lt;/message&gt; &lt;ApplicationException.Type&gt;ApiException&lt;/Applicatio nException.Type&gt; &lt;errors xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema- instance&quot; xsi:type=&quot;InternalApiError&quot;&gt; &lt;fieldPath/&gt; &lt;trigger/&gt; &lt;errorString&gt;InternalApiError.UNEXPECTED_INTERNAL_ API_ERROR&lt;/errorString&gt; &lt;ApiError.Type&gt;InternalApiError&lt;/ApiError.Type& gt; &lt;reason&gt;UNEXPECTED_INTERNAL_API_ERROR&lt;/reason&g t; &lt;/errors&gt; &lt;/ns2:ApiExceptionFault&gt; &lt;/detail&gt; &lt;/soap:Fault&gt; &lt;/soap:Body&gt; &lt;/soap:Envelope&gt; 2022-03-15 22:39:51,220 ERROR [Thread-20] com.agilone.aif.impl.GoogleAdsOfflineO utputConnector: Request failed due to ApiException. Underlying ApiErrors: Error 0: InternalApiError{apiErrorType=InternalApiError, errorString=InternalApiError. UNEXPECTED_INTERNAL_API_ERROR, fieldPath=, reason=UNEXPECTED_INTERNAL_API_ERROR, trigger=} AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.a pi.services.common.error.InternalApiError.&amp;lt;init&amp;gt;(InternalApiErro] faultActor: faultNode: faultDetail: {https://adwords.google.com/api/adwords/rm/v201809}ApiExceptionFault:&lt ;message&gt;[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api .services.common.error.InternalApiError.&amp;lt;init&amp;gt;(InternalApiErro]&lt ;/message&gt;&lt;ApplicationException.Type&gt;ApiException&lt;/ApplicationExcept ion.Type&gt;&lt;errors xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance &quot; xsi:type=&quot;InternalApiError&quot;&gt;&lt;fieldPath/&gt;&lt;trigger/&g t;&lt;errorString&gt;InternalApiError.UNEXPECTED_INTERNAL_API_ERROR&lt;/errorStr ing&gt;&lt;ApiError.Type&gt;InternalApiError&lt;/ApiError.Type&gt;&lt;reason&gt; UNEXPECTED_INTERNAL_API_ERROR&lt;/reason&gt;&lt;/errors&gt; ApiException{applicationExceptionType=ApiException, errors=[InternalApiError{api ErrorType=InternalApiError, errorString=InternalApiError.UNEXPECTED_INTERNAL_API _ERROR, fieldPath=, reason=UNEXPECTED_INTERNAL_API_ERROR, trigger=}]} at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at org.apache.axis.encoding.ser.BeanDeserializer.&lt;init&gt;(BeanDeseri alizer.java:104) at org.apache.axis.encoding.ser.BeanDeserializer.&lt;init&gt;(BeanDeseri alizer.java:90) at com.google.api.ads.adwords.axis.v201809.cm.ApiException.getDeserializ er(ApiException.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(B aseDeserializerFactory.java:154) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerA s(BaseDeserializerFactory.java:84) at org.apache.axis.encoding.DeserializationContext.getDeserializer(Deser ializationContext.java:464) at org.apache.axis.encoding.DeserializationContext.getDeserializerForTyp e(DeserializationContext.java:547) at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaul tDetailsBuilder.java:157) at org.apache.axis.encoding.DeserializationContext.startElement(Deserial izationContext.java:1035) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour ce) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn own Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour ce) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContext.parse(Deserialization Context.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnders tandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) 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.ads.adwords.axis.v201809.rm.OfflineDataUploadServiceSo apBindingStub.mutate(OfflineDataUploadServiceSoapBindingStub.java:903) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClien tHandler.java:100) at com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(Ax isHandler.java:234) at com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(S oapServiceClient.java:63) at com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServi ceClient.java:93) at com.sun.proxy.$Proxy39.mutate(Unknown Source) at 

Ngon Nguyen

unread,
Mar 17, 2022, 8:03:53 PM3/17/22
to ergin....@acquia.com, Google Ads API and AdWords API Forum
Chào mừng bạn đến với bảng nhớ tạm của Gboard, bất kỳ văn bản nào bạn sao chép sẽ được lưu tại đây.Sử dụng biểu tượng chỉnh sửa để ghim, thêm hoặc xóa đoạn.Nhấn vào một đoạn để dán vào hộp văn bản.Chạm và giữ một đoạn để ghim đoạn đó. Các đoạn đã bỏ ghim sẽ bị xóa sau 1 giờ.

Vào 5:47, Th 6, 18 thg 3, 2022 Ergin Demirel <ergin....@acquia.com> đã viết:
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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 "Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/04484bf9-a048-42a4-a542-77678ae68b8dn%40googlegroups.com.

Shaun Indeglia

unread,
Mar 18, 2022, 11:02:49 AM3/18/22
to ergin....@acquia.com, Google Ads API and AdWords API Forum, Jennifer Suarez
Hello API team,

Can you please have an update with the issue that Ergin has stated above? This is important for their customers.

Shaun

Shaun Indeglia

Customer Engineer

Mobile 978-930-3056

355 Main St, Cambridge, MA



--

Google Ads API Forum Advisor

unread,
Mar 18, 2022, 1:18:56 PM3/18/22
to ngonng...@gmail.com, ergin....@acquia.com, adwor...@googlegroups.com
Hello Ergin,

This thread was for CustomerService.getCustomers() having an issue. This looks like a different service so it's not the same problem. Can you either start a new forum thread or reach out to googleadsa...@google.com to start a new issue? This appears to be something different.

Thanks,
Google Logo
Nadine Wang
Google Ads API Team
 


ref:_00D1U1174p._5004Q2WyTcV:ref

Ergin Demirel

unread,
Mar 18, 2022, 4:24:18 PM3/18/22
to Google Ads API and AdWords API Forum
Hello Nadine, 

As requested, I created another post and shared the service call details. I really appreciate your assistance on the other thread. 

Thanks, 

Ergin

Google Ads API Forum Advisor

unread,
Mar 18, 2022, 5:04:49 PM3/18/22
to ergin....@acquia.com, adwor...@googlegroups.com
Hello Ergin,

One of my teammates should get to your question soon.

Best,
Reply all
Reply to author
Forward
0 new messages