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 <kanjiyanial...@gmail.com>
wrote:
> 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 APIs. Is there anything i am missing?
>
> Thanks,
> Almas
>
> On Dec 17, 10:46 pm, AdWords API Advisor
>
>
>
> <adwordsapiadvi...@google.com> wrote:
> > 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 Dgs <faisal....@gmail.com> wrote:
>
> > > Hi There,
>
> > > I am using v200909. I am trying to catch ApiException in catch block
> > > but I am getting "The type caught or thrown must be derived from
> > > System.Exception" exception.  I am using C# 3.5.
>
> > > Please help. Because I have a sample code where ApiException is caught
> > > in catch block athttp://adwordsapi.blogspot.com/.
>
> > > Regards,
> > > Faisal- 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 adwords-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.


Reply via email to