2 messages in com.googlegroups.adwords-apiRe: Calling AdWords web service from ...
FromSent OnAttachments
Slava04 Jan 2007 08:03 
fredIsDead08 Jan 2007 10:49 
Subject:Re: Calling AdWords web service from ASP.NET
From:fredIsDead (addo@gmail.com)
Date:01/08/2007 10:49:24 AM
List:com.googlegroups.adwords-api

Do you have a proxy that you're going through? If so, your ASP.NET request is being submitted from the ASPNET user vs. what ever your personal login ID is. You need to create a credentials thingey with a user that has authority to go through your proxy to the internet.

Slava wrote:

Hello all

Sorry for stupid question but...

When I try to call a service from aspx page I receive error message {"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"}.

Same code from windows application works with out any problems.

So code itself // login properties campaignService.useragentValue = new com.google.CampaignService.useragent(); campaignService.useragentValue.Text = new String[] { userAgent };

campaignService.emailValue = new com.google.CampaignService.email(); campaignService.emailValue.Text = new String[] { eMail };

campaignService.passwordValue = new com.google.CampaignService.password(); campaignService.passwordValue.Text = new String[] { password };

campaignService.developerTokenValue = new com.google.CampaignService.developerToken(); campaignService.developerTokenValue.Text = new String[] { token };

campaignService.applicationTokenValue = new com.google.CampaignService.applicationToken(); campaignService.applicationTokenValue.Text = new String[] { appToken };

using (CampaignService campaignService = new CampaignService()) { ICredentials credentials = new NetworkCredential("user", "password", "domain"); campaignService.Credentials = credentials; Campaign[] campaignList = campaignService.getAllAdWordsCampaigns(0); }

I tried to take Credential object from cache or don't use at all - same result.

Any ideas?