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_sandbox.html#requestheaders 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); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
