Multiple accounts and reports code 13 error for google-ads-php and Apr 2

44 views
Skip to first unread message

Oksana Sulyma

unread,
Apr 2, 2025, 11:26:12 AM4/2/25
to Google Ads API and AdWords API Forum
Hi Google Ads API team!

Starting from today we observe intermittent API error which happens for SOME accounts we serve:

2025-04-02 11:09:48 Request with ID _7nss8ZeBi9NTsz8iwklpQhas failed. 2025-04-02 11:09:48 Retry #3 for the error : { "message": "Internal error encountered.", "code": 13, "status": "INTERNAL", "details": [ { "@type": "google.ads.googleads.v18.errors.googleadsfailure-bin", "data": "<Unknown Binary Data>" }, { "@type": "grpc-status-details-bin", "data": "<Unknown Binary Data>" }, { "@type": "request-id", "data": "_7nss8ZeBi9NTsz8iwklpQ" } ] }

It occurs for various API reports we pull. We use V18 and V19 and official google-ads-php library. 3 API calls retries we have don't help.

Is this error something API team is aware of? Will be happy to provide more details if needed!

Thanks,
Oksana

Google Ads API and AdWords API Forum

unread,
Apr 2, 2025, 4:37:14 PM4/2/25
to Google Ads API and AdWords API Forum

Hi,

Thank you for contacting the Google Ads API support team.

Upon checking the provided partial logs, I understand that you are getting an Internal Error. Kindly note Internal Error occurs when something unexpected happens while processing the request. You can refer to the documentation, to know how to handle the Internal Error. When you retry requests, use an exponential backoff policy. For example, if you first pause 5 seconds before the first retry, you could pause 10 seconds after the second and 20 seconds after the third retry. Exponential backoff helps ensure you are not calling the API too many times.

Please note that we pulled the logs by using the request ID : _7nss8ZeBi9NTsz8iwklpQ and we couldn’t find any error including the Internal Error on this request. Also, we were able to execute the same query and got the data via the API successfully without any errors or issues.

If the issue remains the same, to investigate your issue further, please provide us complete API logs (request and response with request-id and request header) generated at your end where you observed the “Internal error” in the API response so that we can check and assist you with further steps. Kindly note that you have to enable the logging if you are using a client library. You can refer to the PHP guides to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via the Reply privately to the author option or a direct private reply to this email.

Reply all
Reply to author
Forward
0 new messages