Thanks. Unfortunately that did not solve the problem... Here is the SOAP log:
-----SoapRequest at 10/11/2008 5:23:34 AM----- POST /api/adwords/v12/InfoService HTTP/1.0 Host: sandbox.google.com User-agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.1434) Content-type: text/xml; charset=utf-8 Content-length: 985 SOAPAction: "getUsageQuotaThisMonth" -------------------------------------------------------- <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Header> <applicationToken xmlns="https://adwords.google.com/api/adwords/ v12">token</applicationToken> <clientCustomerId xmlns="https://adwords.google.com/api/adwords/ v12">[EMAIL PROTECTED]</clientCustomerId> <developerToken xmlns="https://adwords.google.com/api/adwords/ v12">[EMAIL PROTECTED]</developerToken> <email xmlns="https://adwords.google.com/api/adwords/ v12">[EMAIL PROTECTED]</email> <password xmlns="https://adwords.google.com/api/adwords/ v12">password</password> <useragent xmlns="https://adwords.google.com/api/adwords/ v12">AdWords API DotNet Client Library v2.0.0: NuConomy</useragent> </soap:Header> <soap:Body> <getUsageQuotaThisMonth xmlns="https://adwords.google.com/api/ adwords/v12" /> </soap:Body> </soap:Envelope> -------------------------------------------------------- -----SoapResponse at 10/11/2008 5:23:35 AM----- Content-type: text/xml; charset=utf-8 Content-length: 648 SOAPAction: "getUsageQuotaThisMonth" -------------------------------------------------------- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/ envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server.generalException</faultcode> <faultstring>An internal error has occurred. Please retry your request.</faultstring> <detail> <ns1:fault xmlns:ns1="https://adwords.google.com/api/adwords/ v12"> <ns1:code>0</ns1:code> <ns1:message>An internal error has occurred. Please retry your request.</ns1:message> </ns1:fault> </detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> -------------------------------------------------------- On Oct 10, 1:05 pm, AdWords API Advisor <[EMAIL PROTECTED]> wrote: > Hello, > > You shouldn't specify an actual client ID (944-753-5890) when > accessing the Sandbox. You should specify a clientEmail SOAP header, > and set it to [EMAIL PROTECTED], as per > > http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbo... > > If changing that doesn't resolve the problem for you, can you turn on > SOAP logging in your code and pass along the full XML for your SOAP > request and response, with the password information X-ed out? > > Cheers, > -Jeff Posnick, AdWords API Team > > On Oct 10, 2:01 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > > > Hi. > > I registered today as a new developer for the AdWords API. > > I'm trying to write some code in .NET that calls the sandbox methods, > > but every time (and for every method) I get the "internal error has > > occured" error message back. > > > Here is the code I'm running. Anyone has any idea how to debug this?? > > > com.google.adwords.InfoService service = new > > AdWordsTest.com.google.adwords.InfoService(); > > > com.google.adwords.clientCustomerId clientId = new > > AdWordsTest.com.google.adwords.clientCustomerId(); > > clientId.Text = new string[] {"944-753-5890"}; > > service.clientCustomerIdValue = clientId; > > > com.google.adwords.developerToken devToken = new > > AdWordsTest.com.google.adwords.developerToken(); > > devToken.Text = new string[] { "[EMAIL PROTECTED] > > +USD" }; > > service.developerTokenValue = devToken; > > > com.google.adwords.email email = new > > AdWordsTest.com.google.adwords.email(); > > email.Text = new string[] {"[EMAIL PROTECTED]"}; > > service.emailValue = email; > > > com.google.adwords.password password = new > > AdWordsTest.com.google.adwords.password(); > > password.Text = new string[] {"Password"}; > > service.passwordValue = password; > > > com.google.adwords.useragent userAgent = new > > AdWordsTest.com.google.adwords.useragent(); > > userAgent.Text = new string[] { "CompanyName" }; > > service.useragentValue = userAgent; > > > service.getUnitCount(DateTime.Now.AddDays(-5), > > DateTime.Now);- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
