Hello , I am also facing the same challenge to get the example code for get_keywords_ideas working . I get the error *TypeError: argument of type 'NoneType' is not iterable. * I tried following the solution outlined below but its still not working. Please help.
On Wednesday, March 8, 2017 at 10:28:27 PM UTC, Steve R. Hastings wrote: > > 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.py > > I 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? > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/57332379-2593-46ad-9738-c16d18e79434%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
