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());
            }
            catch (AdWordsApiException ex)
            {
                // here is ApiException
                ApiException apiEx = (ApiException)ex.ApiException;
            }

Regards,
--
Josip
GemBox.Ppc - http://www.GemBoxSoftware.com/Ppc/Overview.htm - Advanced
AdWords API for .NET

--

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