Dumb me...from the tutorial....lib.XXXXXXX should be replaced my
aw_api
On Jan 16, 1:32 am, Monty808 <[email protected]> wrote:
> Hi,
>
> I am trying to setup awapi_python_lib_4.0.0.
>
> Where is the best place to put it? When I run setup.py I enter in the
> info...but then what? Should I place the awapi_python_lib_4.0.0/ dir
> in my /usr/lib/python2.5 directory?
>
> I am trying to make the below code from the tutorial work...but I get
> this error....
>
> Traceback (most recent call last):
> File "/home/davidmontgom/workspace/adwords_test/test1.py", line 7,
> in <module>
> from lib.AccountService import AccountService
> ImportError: No module named lib.AccountService
>
> LIB_HOME = '/path/to/awapi_python_lib_4.0.0/' # The path to the client
> library lib/ directory.
> import sys
> sys.path.append(LIB_HOME)
> import time
>
> from lib.AccountService import AccountService
> from lib.CampaignService import CampaignService
> from lib.AdGroupService import AdGroupService
> from lib.AdService import AdService
> from lib.CriterionService import CriterionService
> from lib.Client import Client
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---