internal_error response

91 views
Skip to first unread message

Jon

unread,
Mar 15, 2024, 5:28:30 PM3/15/24
to Google Ads API and AdWords API Forum
Hello,

We are seeing an "internal_error" response from Google Ads Rest API. 2 Examples below, domain of xxx can be provided privately. Can you help us with what's going on?

Example 1: Domain: xxx Google Ads Error: Status=200 Request ID=1qfsOane0-j1CucnxIBG9A Request Body={"conversions":[{"gclid":"CjwKCAjw48-vBhBbEiwAzqrZVCG9kLir6YQ6mTMDxO0SjDW1u776gp8By38CT1IWvNGVnPXm3sahIhoCXGkQAvD_BwE","conversionEnvironment":"WEB","conversionDateTime":"2024-03-15 11:33:46+00:00","conversionValue":152,"currencyCode":"USD","cartData":{"merchantId":"235864595","items":[{"productId":"7389097590965","unitPrice":76,"quantity":1},{"productId":"7550520361141","unitPrice":0,"quantity":1},{"productId":"7202600616117","unitPrice":76,"quantity":1}]},"consent":{"adUserData":"GRANTED","adPersonalization":"GRANTED"},"conversionAction":"customers/508764953/conversionActions/6753706222"}],"partialFailure":true,"validateOnly":false,"debugEnabled":true} Response Body={"partialFailureError":{"code":13,"message":"An internal error has occurred., at conversions[0]","details":[{"@type":"type.googleapis.com/google.ads.googleads.v15.errors.GoogleAdsFailure","errors":[{"errorCode":{"internalError":"INTERNAL_ERROR"},"message":"An internal error has occurred.","location":{"fieldPathElements":[{"fieldName":"conversions","index":0}]},"details":{}}],"requestId":"1qfsOane0-j1CucnxIBG9A"}]},"results":[{}],"jobId":"910197363948123989"} Request Headers={"Content-Type":"application/json","developer-token":"KNpzoPdz_KzjfSO9mRS2DA","login_customer-id":"4255759731","authorization":"Bearer ya29.a0Ad52N3_2srbtKCVTVZgTmDiB_oUm1bOa2n_ghIbHL6L3hfGk67X5n_rYWDKdk4B2uNXdZCDQFtq_Z0jrLdkQPb0lNc1LoGBzIarhNojG-bl1v6f2FevWIsqrn1kwmma4wn-vYc6gjPYwYBl3U2ewGcv40aKBuDLaBeH4WiG7l_nVS46QUGcTGKuenA1WfJI2eAmjJgNGj7dUT6VPPAaCgYKAWESARESFQHGX2MihBC_-deY9bMRstZbsBqbgg0217"} 

Example 2: Domain: xxx Google Ads Error: Status=200 Request ID=2sjt5MRCx8P9KCFip3xMJg Request Body={"conversions":[{"gclid":"CjwKCAjw48-vBhBbEiwAzqrZVCG9kLir6YQ6mTMDxO0SjDW1u776gp8By38CT1IWvNGVnPXm3sahIhoCXGkQAvD_BwE","conversionEnvironment":"WEB","conversionDateTime":"2024-03-15 11:30:04+00:00","conversionValue":0,"currencyCode":"USD","cartData":{"merchantId":"235864595","items":[{"productId":"7550520361141","unitPrice":0,"quantity":1}]},"consent":{"adUserData":"GRANTED","adPersonalization":"GRANTED"},"conversionAction":"customers/508764953/conversionActions/6753706225"}],"partialFailure":true,"validateOnly":false,"debugEnabled":true} Response Body={"partialFailureError":{"code":13,"message":"An internal error has occurred., at conversions[0]","details":[{"@type":"type.googleapis.com/google.ads.googleads.v15.errors.GoogleAdsFailure","errors":[{"errorCode":{"internalError":"INTERNAL_ERROR"},"message":"An internal error has occurred.","location":{"fieldPathElements":[{"fieldName":"conversions","index":0}]},"details":{}}],"requestId":"2sjt5MRCx8P9KCFip3xMJg"}]},"results":[{}],"jobId":"2537273595592665678"} Request Headers={"Content-Type":"application/json","developer-token":"KNpzoPdz_KzjfSO9mRS2DA","login_customer-id":"4255759731","authorization":"Bearer ya29.a0Ad52N3_2srbtKCVTVZgTmDiB_oUm1bOa2n_ghIbHL6L3hfGk67X5n_rYWDKdk4B2uNXdZCDQFtq_Z0jrLdkQPb0lNc1LoGBzIarhNojG-bl1v6f2FevWIsqrn1kwmma4wn-vYc6gjPYwYBl3U2ewGcv40aKBuDLaBeH4WiG7l_nVS46QUGcTGKuenA1WfJI2eAmjJgNGj7dUT6VPPAaCgYKAWESARESFQHGX2MihBC_-deY9bMRstZbsBqbgg0217"}



This message and any attachments contain information, which may be confidential and/or privileged, and is intended for use only by the intended recipient, any review; copying, distribution or use of this transmission is strictly prohibited. If you have received this transmission in error, please (i) notify the sender immediately and (ii) destroy all copies of this message.

Google Ads API Forum Advisor

unread,
Mar 15, 2024, 5:56:19 PM3/15/24
to jona...@getelevar.com, adwor...@googlegroups.com
Hi,

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

By reviewing your concern, I understand that you are getting 'INTERNAL_ERROR' while adjusting conversions. Kindly note that the INTERNAL_ERROR occurs when something unexpected happens while processing the request. The common cause could be the API isn't functioning correctly. However, this is transient in nature and the API request will work again when retrying it after 30 seconds or some time. You may also retry any requests that failed with this error, using an exponential backoff schedule for the retries. Here is a code example demonstrating how to implement an exponential back off strategy.

If the issue still persists, then provide us with the below information, so that we can investigate this issue further.
  • Affected Customer Id
  • Date of this issue started
  • How much time did you wait before retry of a request
This message is in relation to case "ref:!00D1U01174p.!5004Q02s00LT:ref" (ADR-00227498)

Thanks,
 
Google Logo Google Ads API Team

 

Reply all
Reply to author
Forward
0 new messages