Hi,

Yes, v13 doesn't use the ClientLogin API, so it doesn't need to access
that SSL protected URL.  I'm not an expert on AppEngine, but this
section of the FAQ may be helpful:

  http://code.google.com/appengine/docs/python/config/appconfig.html#Secure_URLs

Perhaps the SSL communication will only work when serving from the
appspot.com domain?

Best,
- Eric

On Jan 12, 5:06 pm, dadster <[email protected]> wrote:
> Hi,
> I just tried the sample project and I get the same error message (now
> in GetCampaignInfo) when I run it with VERSION_V200909. I am OK if I
> change the api version to VERSION_V13 but I guess that's because V13
> handled authentication differently...
> I have SSL enabled on my appengine domain but is there another setting
> missing?
> Thanks.
>
> On Jan 12, 7:19 pm, AdWords API Advisor <[email protected]>
> wrote:
>
>
>
> > 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