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
-~----------~----~----~----~------~----~------~--~---

Reply via email to