No group found for service

46 views
Skip to first unread message

Srinivas Giduthuri

unread,
May 30, 2018, 3:09:26 AM5/30/18
to AdWords API and Google Ads API Forum
Hello team,

I am getting the following exception while creating the service object. Could someone help me what's wrong with this? When can this happen?

This was coming since I upgraded the AdWords library from 201710 to 201802.

Caused by: java.lang.NullPointerException: No group found for service: v201802.AdwordsUserListService
at com.google.api.ads.adwords.lib.conf.AdWordsApiConfiguration.getServiceUrlGroup(AdWordsApiConfiguration.java:52) ~[ads-lib-3.14.1.jar:?]
at com.google.api.ads.adwords.lib.client.AdWordsServiceDescriptor.getEndpointAddress(AdWordsServiceDescriptor.java:77) ~[ads-lib-3.14.1.jar:?]
at com.google.api.ads.common.lib.factory.helper.BaseAdsServiceClientFactoryHelper.createAdsServiceClient(BaseAdsServiceClientFactoryHelper.java:73) ~[ads-lib-3.14.1.jar:?]
at com.google.api.ads.common.lib.factory.AdsServiceClientFactory.getServiceClient(AdsServiceClientFactory.java:76) ~[ads-lib-3.14.1.jar:?]
at com.google.api.ads.common.lib.factory.BaseAdsServiceClientFactory.getServiceClientAsInterface(BaseAdsServiceClientFactory.java:81) ~[ads-lib-3.14.1.jar:?]
at com.google.api.ads.common.lib.factory.BaseServices.get(BaseServices.java:45) ~[ads-lib-3.14.1.jar:?]
at com.pega.mkt.paidmedia.google.GoogleAPIService.getService(GoogleAPIService.java:45) ~[mkt-paidmedia-08.10.01.jar:?]
at com.pega.mkt.paidmedia.google.GoogleAPIService.getResilientGoogleRequestor(GoogleAPIService.java:54) ~[mkt-paidmedia-08.10.01.jar:?]
at com.pega.mkt.paidmedia.google.GoogleAudienceManager.readExistingAudience(GoogleAudienceManager.java:467) ~[mkt-paidmedia-08.10.01.jar:?]
at com.pega.mkt.paidmedia.google.GoogleAudienceManager.getAudienceExistingInGoogleAdWords(GoogleAudienceManager.java:555) ~[mkt-paidmedia-08.10.01.jar:?]
at com.pega.mkt.paidmedia.google.GoogleAudienceManager.deleteStaleAudiencesFromDB(GoogleAudienceManager.java:495) ~[mkt-paidmedia-08.10.01.jar:?]
at com.pega.mkt.paidmedia.utilities.PaidMediaUtilities.deleteStaleAudiencesFromDB(PaidMediaUtilities.java:311) ~[mkt-paidmedia-08.10.01.jar:?]
... 39 more

Thanks,
Srinivas

Luis Xander Talag (AdWords API Team)

unread,
May 30, 2018, 5:14:10 AM5/30/18
to AdWords API and Google Ads API Forum
Hi Srinivas,

Could you confirm if you imported the libraries properly? This issue seems to be related more on the client libraries. For further assistance I would suggest to post your issue here as the client library owners are better equipped to assist you.

Thanks and regards,
Luis
AdWords API Team

Srinivas Giduthuri

unread,
May 30, 2018, 7:04:50 AM5/30/18
to AdWords API and Google Ads API Forum

I am importing the following libraries as dependencies manually(not using maven) by executing the build command "mvn clean compile package".

ads-lib-3.14.1.jar
ads-lib-axis-3.14.1.jar
adwords-axis-3.14.1.jar

Am I missing any other libraries?

Luis Xander Talag (AdWords API Team)

unread,
May 30, 2018, 10:50:38 PM5/30/18
to AdWords API and Google Ads API Forum
Hi Srinivas,

To better check this, I would suggest to post your issue here as the client library owners are better equipped to assist you in this matter.

Regards,
Luis
AdWords API Team
Reply all
Reply to author
Forward
0 new messages