googleads / googleads/googleads-python-lib
module 'googleads.oauth2' has no attribute
Open
@BenRKarl is already working on this.
Since Jul 9, 2019.
- Dominant language
- Python
- Stars
- 749
- Forks
- 967
- PR merge metrics
- No merged PRs in 30d
Description
When running the access token example, I receive the error
AttributeError: module 'googleads.oauth2' has no attribute 'GetAPIScope'
However, I can run the following without issue
from googleads import oauth2
I install the library using pip install googleads and all the necessary files, including oauth2.py, can be found inside
/Users/username/DevEnv/lib/python3.7/site-packages/googleads/
Does this have something to do with how I import the package, or am I using an old example?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.