getting errors when trying to install google-ads-python.git

281 views
Skip to first unread message

Jay Wilner

unread,
Oct 16, 2023, 8:49:23 AM10/16/23
to Google Ads API and AdWords API Forum
Hello,

Thanks for reading my post. I am a newbie and trying to install google-ads-python.git on my Macbook pro.


1. When I run step #2: git clone g...@github.com:googleads/google-ads-python.git

 I see the following error: 

Cloning into 'google-ads-python'...
g...@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

2. When I try the other method, python -m pip install google-ads, i get the following results:

jays-mbp:python_work jaywilner$ python3 -m pip install google-ads

Requirement already satisfied: google-ads in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (22.0.0)

Requirement already satisfied: google-auth-oauthlib<2.0.0,>=0.3.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from google-ads) (1.1.0)

Requirement already satisfied: google-api-core<=3.0.0,>=2.8.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from google-ads) (2.12.0)

Requirement already satisfied: googleapis-common-protos<2.0.0,>=1.56.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from google-ads) (1.61.0)

Requirement already satisfied: grpcio<2.0.0,>=1.38.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from google-ads) (1.59.0)

Requirement already satisfied: grpcio-status<2.0.0,>=1.38.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from google-ads) (1.59.0)

Requirement already satisfied: proto-plus<2.0.0,>=1.19.6 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from google-ads) (1.22.3)

Requirement already satisfied: PyYAML<7.0,>=5.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from google-ads) (6.0.1)

Requirement already satisfied: setuptools>=40.3.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from google-ads) (40.6.2)

Requirement already satisfied: protobuf!=3.18.*,!=3.19.*,<5.0.0dev,>=3.12.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from google-ads) (4.24.4)

Requirement already satisfied: google-auth<3.0.dev0,>=2.14.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from google-api-core<=3.0.0,>=2.8.0->google-ads) (2.23.3)

Requirement already satisfied: requests<3.0.0.dev0,>=2.18.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from google-api-core<=3.0.0,>=2.8.0->google-ads) (2.24.0)

Requirement already satisfied: requests-oauthlib>=0.7.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from google-auth-oauthlib<2.0.0,>=0.3.0->google-ads) (1.3.1)

Requirement already satisfied: cachetools<6.0,>=2.0.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from google-auth<3.0.dev0,>=2.14.1->google-api-core<=3.0.0,>=2.8.0->google-ads) (5.3.1)

Requirement already satisfied: pyasn1-modules>=0.2.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from google-auth<3.0.dev0,>=2.14.1->google-api-core<=3.0.0,>=2.8.0->google-ads) (0.3.0)

Requirement already satisfied: rsa<5,>=3.1.4 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from google-auth<3.0.dev0,>=2.14.1->google-api-core<=3.0.0,>=2.8.0->google-ads) (4.9)

Requirement already satisfied: chardet<4,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests<3.0.0.dev0,>=2.18.0->google-api-core<=3.0.0,>=2.8.0->google-ads) (3.0.4)

Requirement already satisfied: idna<3,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests<3.0.0.dev0,>=2.18.0->google-api-core<=3.0.0,>=2.8.0->google-ads) (2.10)

Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests<3.0.0.dev0,>=2.18.0->google-api-core<=3.0.0,>=2.8.0->google-ads) (1.25.10)

Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests<3.0.0.dev0,>=2.18.0->google-api-core<=3.0.0,>=2.8.0->google-ads) (2020.6.20)

Requirement already satisfied: oauthlib>=3.0.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<2.0.0,>=0.3.0->google-ads) (3.2.2)

Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pyasn1-modules>=0.2.1->google-auth<3.0.dev0,>=2.14.1->google-api-core<=3.0.0,>=2.8.0->google-ads) (0.5.0)

jays-mbp:python_work jaywilner$ 


But when i do a 'dir' command in my directory, i see no files downloaded.  What am i doing wrong?

Thanks in advance!



Google Ads API Forum Advisor

unread,
Oct 16, 2023, 12:33:25 PM10/16/23
to ja...@outofboundscommunications.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.!5004Q02pS1Y2:ref"

Thanks,
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages