AdWords API Re: Cannot catch ApiException

2010-01-11 Thread AdWords API Advisor
Hi Almas, The ApiException class is not immediately available in .NET, and the AdWords API .NET client library did some work to expose it. I would recommend using the library as it takes care of this and other difficulties. Best, - Eric On Dec 18 2009, 1:34 am, Almas Kanjiyani wrote: > Hi Eric

AdWords API Re: Cannot catch ApiException

2009-12-18 Thread Almas Kanjiyani
Hi Eric, I am also facing the same issue. While i try to catch the ApiException in case of any AuthenticationError.GOOGLE_COOKIE_INVALID exception, it throws a SoapException instead of an ApiException. Why is this so? Also the ApiException class is not available on adding reference to the v200909

AdWords API Re: Cannot catch ApiException

2009-12-18 Thread MarkoZ
Hi, That sample code is old. They have changed Exception handling. ApiException is no Exception. AdWordsApiException is. Here's some code snippet that you need to use: try { // service call adGroupCriterionService.mutate(operations.ToArray

AdWords API Re: Cannot catch ApiException

2009-12-17 Thread AdWords API Advisor
Hi Faisal, Are you using the AdWords API .NET client library? If so I would suggest you open a bug on the issue tracker to alert the maintainers of this problem: http://code.google.com/p/google-api-adwords-dotnet/issues/list Best, - Eric Koleda, AdWords API Team On Dec 16, 3:02 pm, Faisal Dg