My company has been using AdWords and I have a copy of the credentials (developer token, etc.) that other people are using. I'm trying to run the example code from the Python library for getting keyword suggestions.
When I try to run this:
examples/adwords/v201609/optimization/get_keyword_ideas.pyI am getting this exception:
TypeError: argument of type 'NoneType' is not iterable
It seems clear that the example expects to get a dictionary back from the
targeting_idea_service.get() and instead it is getting a Python
None object back.
I've tried get_keyword_ideas.py from other versioned subdirectories. I get a versioning error from the one in v201702, but otherwise I get the same None issue.
How can I successfully get keyword suggestions using Python?