Hi I am getting the same error but during migration to v201502. Could you please help. I am not using adwords-api-properties file
trace: java.lang.NullPointerException: No group found for service: v201502.CampaignServicejava.lang.NullPointerException: No group found for service: v201502.CampaignService at com.google.api.ads.adwords.lib.conf.AdWordsApiConfiguration.getServiceUrlGroup(AdWordsApiConfiguration.java:64) at com.google.api.ads.adwords.lib.client.AdWordsServiceDescriptor.getEndpointAddress(AdWordsServiceDescriptor.java:82) at com.google.api.ads.common.lib.factory.helper.BaseAdsServiceClientFactoryHelper.createAdsServiceClient(BaseAdsServiceClientFactoryHelper.java:74) at com.google.api.ads.common.lib.factory.AdsServiceClientFactory.getServiceClient(AdsServiceClientFactory.java:75) at com.google.api.ads.common.lib.factory.BaseAdsServiceClientFactory.getServiceClientAsInterface(BaseAdsServiceClientFactory.java:79) at com.google.api.ads.common.lib.factory.BaseServices.get(BaseServices.java:60) On Wednesday, November 20, 2013 at 4:03:59 AM UTC+5:30, Josh Radcliff (AdWords API Team) wrote: > > Hi, > > I've seen this before when the classpath is incorrect or incomplete. > Could you check the following? > > 1. You have updated your adwords-api.properties with the latest version > > <https://code.google.com/p/google-api-ads-java/source/browse/modules/ads_lib/src/main/java/com/google/api/ads/adwords/lib/conf/props/adwords-api.properties> > 2. The classpath is the same for both your local and server processes > > If that does not highlight the issue, please send on your classpath > information from both processes so I can investigate further. > > Thanks, > Josh, AdWords API Team > > On Monday, November 18, 2013 5:20:06 AM UTC-5, F.Per wrote: >> >> Funny thing is that i dont get this error starting my application locally >> and not on the server?! >> >> On Sunday, November 17, 2013 2:43:31 PM UTC+1, Shaihulud wrote: >>> >>> Hi >>> >>> i am getting the following error for a code the worked for month. >>> >>> java.lang.NullPointerException: No group found for service: >>> v201306.MutateJobServicejava.lang.NullPointerException: No group found for >>> service: v201306.MutateJobService >>> at >>> com.google.api.ads.adwords.lib.conf.AdWordsApiConfiguration.getServiceUrlGroup(AdWordsApiConfiguration.java:63) >>> at >>> com.google.api.ads.adwords.lib.client.AdWordsServiceDescriptor.getEndpointAddress(AdWordsServiceDescriptor.java:77) >>> at >>> com.google.api.ads.common.lib.factory.helper.BaseAdsServiceClientFactoryHelper.createAdsServiceClient(BaseAdsServiceClientFactoryHelper.java:74) >>> at >>> com.google.api.ads.common.lib.factory.AdsServiceClientFactory.getServiceClient(AdsServiceClientFactory.java:73) >>> at >>> com.google.api.ads.common.lib.factory.BaseAdsServiceClientFactory.getServiceClientAsInterface(BaseAdsServiceClientFactory.java:79) >>> at >>> com.google.api.ads.common.lib.factory.BaseServices.get(BaseServices.java:60) >>> >>> >>> The only thing ive changed is that i switched from v201302 to v201306, >>> but i did not touch the code. >>> >>> the associated code is this : >>> [code] >>> clientLoginToken = new ClientLoginTokens.Builder() >>> .forApi(ClientLoginTokens.Api.ADWORDS) >>> .withEmailAndPassword(adwordsLogin, password) >>> .build() >>> .requestToken(); >>> >>> // Construct an AdWordsSession. >>> AdWordsSession session = new AdWordsSession.Builder() >>> .withClientLoginToken(clientLoginToken) >>> .withDeveloperToken(developerToken) >>> .withClientCustomerId(customerAccount.getClientId()) >>> .withEndpoint(AdWordsSession.DEFAULT_ENDPOINT).build(); >>> >>> // mutate job service >>> mutateJobService = new AdWordsServices().get(session, >>> MutateJobServiceInterface.class); >>> >>> // create list of operations >>> adGroupCriterionOperations = new >>> ArrayList<AdGroupCriterionOperation>(); >>> [/code] >>> >>> ClientloginTokens is deprecated but should still work right? So what >>> seems to be the problem here? >>> I would appreciate the help. >>> >>> thx >>> >>> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/ac0efae9-83df-4809-aeca-d344d2ae5951%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
