AdWords API Re: The request failed with HTTP status 405: Method Not Allowed

2010-02-03 Thread Peer Jakobsen (AdWords API Guru)
Hi, I remember I had an issue like this when I used an app.config that didn't have the AdWordsApi config section. This resulted in the servicefactory creating services with URLs equal null and hence your SOAP requests gets sends to http://localhost which respond with this 405. Cheers -- You rec

AdWords API Re: The request failed with HTTP status 405: Method Not Allowed

2010-02-03 Thread AdWords API Advisor
Hi, Your snippet of code does not include the creation of the targetingIdeaService variable. Where is this set? Best, - Eric On Feb 3, 2:09 am, shiraazz wrote: > I downloaded the .NET client library 6.2.0 from > > http://code.google.com/p/google-api-adwords-dotnet/ > > I am using the targeting

AdWords API Re: The request failed with HTTP status 405: Method Not Allowed

2010-02-02 Thread shiraazz
I downloaded the .NET client library 6.2.0 from http://code.google.com/p/google-api-adwords-dotnet/ I am using the targetingidea service. TargetingIdeaSelector selector = new TargetingIdeaSelector(); selector.searchParameters = new SearchParameter[] {searchParameter}; selecto

AdWords API Re: The request failed with HTTP status 405: Method Not Allowed

2010-02-02 Thread AdWords API Advisor
Hi, Can you provide the code you are using to generate the service? Can you double check that you are using the correct URL endpoint? Best, - Eric Koleda, AdWords API Team On Feb 2, 9:50 am, shiraazz wrote: > *bump* > > On Feb 1, 12:38 pm, shiraazz wrote: > > > > > When I debug I get this err

AdWords API Re: The request failed with HTTP status 405: Method Not Allowed

2010-02-02 Thread shiraazz
*bump* On Feb 1, 12:38 pm, shiraazz wrote: > When I debug I get this error. > > at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse > (SoapClientMessage message, WebResponse response, Stream > responseStream, Boolean asyncCall) >    at System.Web.Services.Protocols.SoapHttpClient

AdWords API Re: The request failed with HTTP status 405: Method Not Allowed

2009-10-28 Thread AdWords API Advisor
Hi Daniel, If you are using the official AdWords API .NET client library you can enable logging of the SOAP requests. See the README file for more information on how to do this: http://code.google.com/p/google-api-adwords-dotnet/source/browse/trunk/README. Best, - Eric On Oct 28, 8:03 am, Dan

AdWords API Re: The request failed with HTTP status 405: Method Not Allowed

2009-10-28 Thread DanielB
Hi Eric, Unfortunately I am not able to obtain them since my current development environment has no debug option. Is there an other way to obtain them? Your help is gratefully appriciated, Regards, Daniel On Oct 26, 5:20 pm, AdWords API Advisor wrote: > Hi Daniel, > > Do you have the SOAP XM

AdWords API Re: The request failed with HTTP status 405: Method Not Allowed

2009-10-26 Thread AdWords API Advisor
Hi Daniel, Do you have the SOAP XML logs from such a request? This may provide more information about the source of the issue. Best, - Eric Koleda, AdWords API Team On Oct 26, 11:51 am, DanielB wrote: > I was trying the enclosed (.Net) code example, which gave me the exact > same error. So ma

AdWords API Re: The request failed with HTTP status 405: Method Not Allowed

2009-10-26 Thread DanielB
I was trying the enclosed (.Net) code example, which gave me the exact same error. So maybe it is a problem in the .Net api. public void Run(AdWordsUser user) { InfoService infoService = (InfoService)user.GetService (AdWordsService.v200909.InfoService); //