Issue Fetching data for customer under account manager

29 views
Skip to first unread message

Echelonn Automations

unread,
Jul 9, 2024, 4:37:45 PMJul 9
to Google Ads API and AdWords API Forum
I have an issue when I try to use the API to retreive the data of one of my customer can you check the error details becuase I am using REST Interface to grap the data 



customer ID: 6450005998
request ID: aa2antjcAtHFMyIrljDOnw

please let me know if there is any other requerments need to fix this issue?

Google Ads API Forum Advisor

unread,
Jul 9, 2024, 9:13:25 PMJul 9
to autom...@echelonn.io, adwor...@googlegroups.com
Hi,

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

As per provided information, I understand that you are facing an issue while retrieving the data using Google Ads API. In order to assist your issue further, kindly provide us with the complete API logs (request and response with request-id and request header) generated at your end and uncropped UI screenshot by highlighting the fields that you are trying to retrieve.

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. 

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJoLz:ref" (ADR-00245706)

Thanks,
 
Google Logo Google Ads API Team


Echelonn Automations

unread,
Jul 10, 2024, 9:34:28 AMJul 10
to Google Ads API and AdWords API Forum
Yes sure,

this is the response: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v17.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "internalError": "INTERNAL_ERROR" }, "message": "An internal error has occurred." } ], "requestId": "uQ96urQ1-ZNjJmM1KBrB7A" } ] } }
Jul 10, 2024, 9:31:57 AM
Info
Error 500: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v17.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "internalError": "INTERNAL_ERROR" }, "message": "An internal error has occurred." } ], "requestId": "uQ96urQ1-ZNjJmM1KBrB7A" } ] } } image.png

Google Ads API Forum Advisor

unread,
Jul 10, 2024, 2:24:05 PMJul 10
to autom...@echelonn.io, adwor...@googlegroups.com
Hi, 

Upon checking the 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.

If the issue still persists, please provide us the complete API logs (request and response with request-id and request header) generated at your end to assist you further.

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:!00D1U01174p.!5004Q02tJoLz:ref" (ADR-00245706)

Thanks,

 
Google Logo Google Ads API Team

Register for the upcoming workshop: Performance Max and the Google Ads API!
 


Reply all
Reply to author
Forward
0 new messages