estimate_keyword_traffic.py example throws AttributeError
When running the example, an AttributeError is thrown: https://gist.github.com/schmilblick/0ab036790c7404055685
When debugging it I found additional errors. I went step by step through the example, and when reaching the line:
estimates = traffic_estimator_service.get(selector)
Suds logs the following errors:
[2014-10-21 12:..] [/.../suds/resolver.py:134] [ERROR] (Money) not-found
[2014-10-21 12:..] [/.../suds/resolver.py:116] [ERROR] path: Money, not-found
[2014-10-21 12:..] [/.../suds/resolver.py:134] [ERROR] (Keyword) not-found
[2014-10-21 12:..] [/.../suds/resolver.py:116] [ERROR] path: Keyword, not-found
[2014-10-21 12:..] [/.../suds/resolver.py:134] [ERROR] (Location) not-found
[2014-10-21 12:..] [/.../suds/resolver.py:116] [ERROR] path: Location, not-found
[2014-10-21 12:..] [/.../suds/resolver.py:134] [ERROR] (Language) not-found
[2014-10-21 12:..] [/.../suds/resolver.py:116] [ERROR] path: Language, not-found
I am using the example code from: https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201409/optimization/estimate_keyword_traffic.py
Hello,
Were you having any other issues with your client? I'm not seeing these errors when running the sample on v201409, and the StatsEstimate should have the averageCpc field:
https://developers.google.com/adwords/api/docs/reference/v201409/TrafficEstimatorService.StatsEstimate
The first thing that comes to mind is that there might be an issue with your installation. If you're still experiencing this problem, try reinstalling the library (and all dependencies) and see if that makes a difference. I will be closing this issue, because this doesn't appear to be an issue with the library as far as I can tell. If reinstalling fails to resolve the problem, please reopen and provide more details about your environment so I can better attempt to reproduce this.
@msaniscalchi Reopening this as #41 since the problem still persists.
the same problem. I've tried to reinstall all the related packages. But it didn't works.