SUGGESTION - Python setup

32 views
Skip to first unread message

dante.n...@gmail.com

unread,
Dec 9, 2015, 9:00:25 AM12/9/15
to AdWords API Forum
Yesterday was my first day working with the AdWords API, and I got stuck for about 6 hours on one of the last steps of authentication. This step was to enter in the authentication credentials (client id, refresh token, etc). Specifically, this step is in the guide under OAuth 2.0 Authentication / Configure and Use a Client Library. 


For python, the instructions are merely "You can store this in your own configuration".

When directed to the python library on GitHub, the instructions say to include the directory "googleads." They do not say where to include it, or what the configuration file is within it. Indeed, the configuration is not in this directory, it is a directory up in "googleads-python-lib". 

https://github.com/googleads/googleads-python-lib

Perhaps this would be clear for an experiences programmer (which I am not), but it would have saved a lot of time and grief if the instructions were changed to say "import the googleads-python-lib directory and add credentials to the configuration file googleads.yaml". It would also be helpful to know a good default place to save this library (I put it in python2.7/site-packages.

In closing, I found this step incredibly vague and frustrating, and encourage the guide to be updated to:
1. Instruct the user to download "googleads-python-lib" versus "googleads"
2. Where to save it
3. That "googleads.yaml" is indeed the configuration file to be edited

Anthony Madrigal

unread,
Dec 9, 2015, 2:34:07 PM12/9/15
to AdWords API Forum
Hi,

Thanks for your input and suggestions. Could you please file your requests in this link?

Regards,
Anthony
AdWords API Team
Reply all
Reply to author
Forward
0 new messages