So then it is not a problem of the Adwords API but of the library you are using. Looks like Java?
- Jan On 9 Okt., 09:39, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > In the class KeywordToolDemo provide by google,the JVM throw exception > at the line:KeywordToolInterface service = > (KeywordToolInterface) > user.getService(user.KEYWORDTOOL_SERVICE), > in fact the exception occor in the class BaseCredentials at the line > ((AdWordsService) obj).setServiceAccountant(new > ServiceAccountant((Stub) obj)); > because obj is type of KeywordToolServiceSoapBindingStub ,exception is > following: > > Exception in thread "main" javax.xml.rpc.ServiceException: > java.lang.ClassCastException: > com.google.api.adwords.v12.KeywordToolServiceSoapBindingStub cannot be > cast to com.google.api.adwords.lib.AdWordsService > at > com.google.api.adwords.lib.BaseCredentials.getService(BaseCredentials.java: > 177) > at examples.KeywordToolDemo.main(KeywordToolDemo.java:45) > > I'm sure there is no other exception. > looking forward your reply,thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
