Getting error while initial setup of "google-ads-python"

26 views
Skip to first unread message

Shivam Kumar

unread,
Dec 12, 2023, 6:52:16 AM12/12/23
to Google Ads API and AdWords API Forum
Hi there,
I am using google-ads-python for one of my project and I am following developer documentation "https://github.com/googleads/google-ads-python?tab=readme-ov-file". During execution of any of the examples I am getting below error I already have install all the dependencies mentioned in document. "https://developers.google.com/google-ads/api/samples/get-campaigns#python

Traceback (most recent call last):
  File "/home/shivam/Desktop/Project/google-ads-python/examples/basic_operations/get_campaigns.py", line 24, in <module>
    from google.ads.googleads.client import GoogleAdsClient
  File "/home/shivam/Desktop/Project/google-ads-python/google/ads/googleads/__init__.py", line 18, in <module>
    import google.ads.googleads.client
  File "/home/shivam/Desktop/Project/google-ads-python/google/ads/googleads/client.py", line 20, in <module>
    from google.api_core.gapic_v1.client_info import ClientInfo
ModuleNotFoundError: No module named 'google.api_core'


any help will be appreciated.

Thank You!

Google Ads API Forum Advisor

unread,
Dec 12, 2023, 10:54:51 AM12/12/23
to shiv...@vaticai.com, adwor...@googlegroups.com
Hi,

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

After reviewing your concern, I understand that you are getting errors when trying to install the Python client library. As your concern is related to the client libraries of the Google Ads API , I would recommend you to raise a request by clicking the new issue button present in this link as the concerned team is best suited to assist you on this request.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02r1K5l:ref"

Thanks,
 
Google Logo Google Ads API Team


Shivam Kumar

unread,
Dec 12, 2023, 10:50:45 PM12/12/23
to ads...@forumsupport.google, adwor...@googlegroups.com
Thank you, I will do that. 
Reply all
Reply to author
Forward
0 new messages