Hello, Well, you have two options. If you're using the official .NET Client Library you can turn on logging for your SOAP request and response messages by using the TraceExtension provided along with the code. You'd need to modify your application's configuration file to use it; see the sample App.config provided with the client library for an example. You can then see what the error message is by looking at the log files on your disk.
Alternatively, you can drop into the debugger when the Exception is thrown and examine the Exception object using the debugging tools; one of the fields should have the details of the underlying SOAP fault. Or you can follow the example outlined in this post to grab this info directly from your code, which is obviously the most appropriate thing to do for anything but one-off errors: http://groups.google.com/group/adwords-api/browse_thread/thread/c2c14dfa05f3410e Cheers, -Jeff Posnick, AdWords API Team On Dec 16, 7:23 am, Ozon-Alexei-RU <[email protected]> wrote: > Help! > tryed to create an AdGroup. with C# .NET > > First, i succesfully created a Company, then > i follow instructions to create AdGroup, buy i get this error: > "One or more input elements failed validation" > > ... (company was succefull created, companyID has a value) > > AdGroup Grp = new AdGroup(); > Grp.name = "TEST GROUP 231"; // +R.Next(); > Grp.keywordMaxCpc = 100000L; > Grp.keywordMaxCpcSpecified = true; > AdWordsServiceProxy.AddAdGroup(companyID, Grp); > .... > > Error documentation > says:http://code.google.com/intl/ru/apis/adwords/docs/developer/adwords_ap... > > Please tell me how my I extract "detail" and ApiError to get more > information from webService about error ?? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
