Whether you're installing the library from PyPi or cloning it from GitHub, It's recommended that you conduct the below steps using an active virtual environment. For information on how to create and activate a virtual environment, see the Virtual Environment documentation.
Installing the module from PyPi
pip install google-ads
Installing the library from GitHub
The source code for the library can be cloned from GitHub onto your local machine. It's useful to clone the source code in order to easily execute the examples. For reference, running one of the authentication examples is a required step in configuring the library for use.
Clone the client library from GitHub:
git clone firstname.lastname@example.org:googleads/google-ads-python.git
Enter the repository and install it:
cd google-ads-python pip install .
Run the unit tests to ensure the library is installed properly:
python setup.py test