Hi,

Are you using the sample project included with the Python client
library?

  http://code.google.com/p/google-api-adwords-python-lib/

I talked with the creator of that project, and he said no special
settings are required to get it to work with appengine.  It appears
that there isn't SSL support on your appengine instance, perhaps this
is something you need to enable?  If this doesn't work you should
probably create a bug on the project's issue tracker:

  http://code.google.com/p/google-api-adwords-python-lib/issues/list

Best,
- Eric

On Jan 10, 6:14 pm, dadster <[email protected]> wrote:
> Hello,
> I'm attempting to use the TargetingIdeaService using the Google App
> Engine in Python and awapi_python_lib_8.0.0.
> My code includes:
>
> client = Client(headers={
>                 'email': 'my_email',
>                 'password': 'my_password',
>                 'authToken': auth_token.AuthToken(email,
> password).GetAuthToken(),
>                 'clientEmail': 'client_email',
>                 'userAgent': 'My Test',
>                 'developerToken': 'dev_token',
>                 'applicationToken': 'app_token})
>
>      # Initialize appropriate service.
>         targeting_idea_service = client.GetTargetingIdeaService
> ('https://adwords.google.com', 'v200909')
>
> When I run the code outside App Engine, everything works fine. When I
> run it in a google appengine wepapp, I get the following error:
> File "C:\Python26\lib\aw_api\AuthToken.py", line 77, in __Login
>     raise AuthTokenError(e)
> AuthTokenError: [Errno url error] unknown url type: 'https'
>
> Any ideas?
> Thanks!
-- 
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.


Reply via email to