Facing error during initial setup of "google-ads-python"

33 views
Skip to first unread message

Shivam Kumar

unread,
Dec 12, 2023, 6:52:20 AM12/12/23
to Google Ads API and AdWords API Forum
Hi There, 
I am new with Google Ads API and I am doing initial setup for it. I have cloned repository "https://github.com/googleads/google-ads-python?tab=readme-ov-file" and I have followed all the steps mentioned in Developer Guide but whem I am trying to execute any one of the example I am getting error as "

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'


I have tried to install google.api_core "pip install google.api_core" and it executed successfully. Any help will be appreciated.

Thank You!

Google Ads API Forum Advisor

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

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

I see that you have already raised this concern on another thread with “ Facing error during initial setup of "google-ads-python" and we have already responded there for this issue. To avoid multiple threads on the same issue, please take a look at that thread and continue the discussion on the same for further updates on the issue.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02r1K5q:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages