Hi Folks,
I'm new to python, novice with Dfp API (I have been able to do some things through the ruby API).
I ran the setup and config scripts with no problem, but I get an import error when I run a script from examples.
Is there a PATH environment variable that I need to modify with a directory from the python API directory?
Thanks,
Seth
sriney@sriney:~/workspace-rails/dfp_api_py/dfp_api_python_9.5.1$ sudo python setup.py build install
sudo: unable to resolve host sriney
[sudo] password for sriney:
running build
running build_py
running install
running install_lib
running install_egg_info
Removing /usr/local/lib/python2.7/dist-packages/adspygoogle.dfp-9.5.1.egg-info
Writing /usr/local/lib/python2.7/dist-packages/adspygoogle.dfp-9.5.1.egg-info
sriney@sriney:~/workspace-rails/dfp_api_py/dfp_api_python_9.5.1$ python --version
Python 2.7.3
sriney@sriney:~/workspace-rails/dfp_api_py/dfp_api_python_9.5.1/examples/adspygoogle/dfp/v201208$ python get_all_line_items.py
Traceback (most recent call last):
File "get_all_line_items.py", line 29, in <module>
from adspygoogle import DfpClient
ImportError: cannot import name DfpClient