Hi Oksana, Thank you for reaching out to the Google Ads API support team.
Please be informed that I have removed your response from the forums as it contains the PII information. As per the information provided, I understand that you are getting an Internal Error. Kindly note *Internal Error* <https://developers.google.com/google-ads/api/reference/rpc/v14/InternalErrorEnum.InternalError?hl=en#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* <https://developers.google.com/google-ads/api/docs/best-practices/common-errors#internalerror:~:text=layer%20limitations.-,INTERNAL_ERROR,-Summary>. 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* <https://developers.google.com/google-ads/api/docs/best-practices/error-types#:~:text=When%20you%20retry%20requests%2C%20use%20an%20exponential%20backoff%20policy.%20For%20example%2C%20if%20you%20first%20pause%205%20seconds%20before%20the%20first%20retry%2C%20you%20could%20pause%2010%20seconds%20after%20the%20second%20and%2020%20seconds%20after%20the%20third%20retry.%20Exponential%20backoff%20helps%20ensure%20you%20are%20not%20calling%20the%20API%20too%20aggressively.> helps ensure you are not calling the API too many times. However, upon checking the request-id which you have provided, I could see that you are trying to retrieve the campaign details and getting INTERNAL error. We have tried to run the same GAQL query at our end and we couldn't encounter any issues and we were successful in making the API calls. Also, I noticed that you are using version 'v19 <https://developers.google.com/google-ads/api/docs/release-notes#v19_2025-02-26>' of the Google Ads API. Please note that version 'v19' of Google Ads API is deprecated and is expected to sunset in February, 2026. After this date, all v19 API requests will begin to fail. I would recommend you to upgrade to the latest version <https://developers.google.com/google-ads/api/docs/upgrade>, 'v21 <https://developers.google.com/google-ads/api/docs/release-notes#v21_2025-08-06>' as soon as possible. You may refer to this documentation <https://developers.google.com/google-ads/api/docs/sunset-dates> on deprecation and sunset for more information regarding the specific deprecation and sunset dates for each available version. I would suggest you to re-try the API calls at your end and if you still encounter same errors, kindly provide us with the complete updated API logs (request <https://developers.google.com/google-ads/api/docs/concepts/field-service#request> and response <https://developers.google.com/google-ads/api/docs/concepts/field-service#response> logs with request-id <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id> and request header <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>) generated at your end to further assist you better. As you are using the PHP client library, I would suggest you to enable the logging at your end by following this guide <https://developers.google.com/google-ads/api/docs/client-libs/php/logging> . You can send the details via *Reply privately to the author option*, or *direct private reply* to this email. Thanks, Google Ads API support team. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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 --- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/adwords-api/b5c4eea5-2108-4fd6-949b-7daf58029745n%40googlegroups.com.
