Re: Parsing Response from TargetingIdeaService with Python client library

2014-12-01 Thread Josh Radcliff (AdWords API Team)
Hi, It's not you - it's the example. :) The printing section isn't navigating deeply enough through the object hierarchy. If you change lines 78 and 79 from: for attribute in result['data']: attributes[attribute['key']] = attribute['value'] to: for attribute in result['data'

Parsing Response from TargetingIdeaService with Python client library

2014-12-01 Thread Owen Ball
Hi, I've been using looking at the sample code to generate keyword idea provided here: https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201409/optimization/get_keyword_ideas.py Everything works fine except the parsing of the response data which doesn't look corre