Issues Retrieving Campaign Reports from Google Ads Manager Account

68 views
Skip to first unread message

Pawankumar Manpuri

unread,
Sep 13, 2023, 2:52:17 AM9/13/23
to Google Ads API and AdWords API Forum
Hello Google Ads API and AdWords API Forum Community,

I am writing to seek assistance regarding a persistent issue I've encountered while attempting to retrieve campaign reports from my Google Ads Manager account via the API.

Over the past two days, I have been experiencing frequent internal server errors (500) and service unavailable errors (503). Specifically, the error messages I'm encountering are:
503 The service is currently unavailable.
500 Internal error encountered.

These errors have been preventing me from accessing the data I need for my campaigns, and I am seeking guidance on how to resolve these issues.

I would greatly appreciate any insights, recommendations, or potential solutions that the community might have to offer. Your expertise and support would be immensely valuable in helping me overcome this obstacle.

Thank you in advance for your assistance.

Thanks and Regards,
Pawankumar Manpuri

Google Ads API Forum Advisor

unread,
Sep 13, 2023, 9:24:23 AM9/13/23
to pawanma...@gmail.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 500 and 503 errors when attempting to retrieve campaign reports from your Google Ads Manager account via the API. I can confirm that there is no issue with the Google Ads. Could you please provide us with the following details for further investigation: If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .NetPHPPythonRuby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

As an alternative, I would recommend you to retrieve campaign reports from Google Ads UI.
 
You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:_00D1U1174p._5004Q2okpX6:ref"

Thanks,
Google Logo Google Ads API Team

 

Pawankumar Manpuri

unread,
Sep 15, 2023, 2:45:41 AM9/15/23
to Google Ads API and AdWords API Forum
Hi,

I wanted to inform you that I have responded to your inquiry via private message. Kindly take a moment to review the provided information in the private conversation. Your prompt attention to this matter is greatly appreciated.

Should you have any further questions or require additional assistance, please do not hesitate to let me know.

Regards,
Pawankumar Manpuri

Google Ads API Forum Advisor

unread,
Sep 19, 2023, 8:31:31 AM9/19/23
to pawanma...@gmail.com, adwor...@googlegroups.com
Hi Pawankumar, 

Thank you for getting back to us. 

Upon checking logs, I understand that you are getting an Internal Error. Internal Error occurs when something unexpected happens while processing the request. You can refer to this link, 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.

If the issue still persists, could you please provide us with the complete API logs (request and response with request-id and request header) generated at your end to assist you further. If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.
Reply all
Reply to author
Forward
0 new messages