Hello when we have Run adword api code is standalone it work fine but when we have add this code in web application(visual web jsf) it throw following error.
javax.xml.rpc.ServiceException: java.lang.ClassCastException: com.google.api.adwords.v13.KeywordToolServiceSoapBindingStub at com.google.api.adwords.lib.BaseCredentials.getService (BaseCredentials.java:196) at com.pspl.bamboocricket.KeywordSelection._init (KeywordSelection.java:101) at com.pspl.bamboocricket.KeywordSelection.init (KeywordSelection.java:296) but we have comment following line in BaseCredentials.java file it work fine. ((AdWordsService) obj).setServiceAccountant(new ServiceAccountant ((Stub) obj)); i am already post this query but you have given following suggestion that use same version now i have check i am using v13 version in all required places. I am using below credentials Map params = new HashMap(); params.put("version", "v13"); params.put("email", "xxxxxxxxxxxx"); params.put("password", "xxxxxxxxxxxxxxxx"); params.put("developerToken", "xxxxxxxxxxxxxxxxxx"); params.put("applicationToken", "xxxxxxxxxxxxxxxxxx"); params.put("useragent", "INSERT_COMPANY_NAME"); params.put("clientId", "xxxxxxxxxxxx"); params.put("alternateUrl", "https://adwords.google.com"); Pl z suggest how we can fixed this problem. Thanks peeyush goyal --~--~---------~--~----~------------~-------~--~----~ 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-api@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 -~----------~----~----~----~------~----~------~--~---