google.api_core.exceptions.MethodNotImplemented: 501 GRPC target method can't be resolved.

80 views
Skip to first unread message

Sree Thampy

unread,
Oct 4, 2024, 7:14:30 PM10/4/24
to Google Ads API and AdWords API Forum
Hi,

I get this error in glue job:
google.api_core.exceptions.MethodNotImplemented: 501 GRPC target method can't be resolved.

while search method is called:

stream = ga_service.search(customer_id = customer_id, query = query)

Using google-ads==17.0.0; google-api-core==2.8.2. Please let me know where its going wrong

Google Ads API Forum Advisor

unread,
Oct 7, 2024, 11:59:09 AM10/7/24
to ssre...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for contacting the Google Ads API support team.

I understand that you are facing an error while accessing the search method from API. To assist you further, provide us with the complete API logs (request and response logs with request-id and request header) generated at your end.

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.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGcPB:ref" (ADR-00270706)

Thanks,
 
Google Logo Google Ads API Team


Google Ads API Forum Advisor

unread,
Oct 7, 2024, 12:00:28 PM10/7/24
to ssre...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for contacting the Google Ads API support team. Kindly ignore my previous mail.


I understand that you are facing an error while accessing the search method from API. To assist you further, provide us with the complete API logs (request and response logs with request-id and request header) generated at your end.

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.

You can send the details via Reply privately to the author option, or direct private reply to this email.
Reply all
Reply to author
Forward
0 new messages