Suchitra, That's interesting. I don't get that error. Here's my gradle definition for the Ads library:
com.google.api-ads:google-ads:13.0.0 Coupled with this message this might be a bit concerning : https://groups.google.com/g/adwords-api/c/kgDoqrCMYw8 Creating an md5 hash on the jar gives me the following: md5 google-ads-13.0.0.jar MD5 (google-ads-13.0.0.jar) = 8e676d1a46932bed9b605d0fd4c78db5 ls -lart google-ads-13.0.0.jar 85934170 Jun 17 13:53 google-ads-13.0.0.jar Wonder if you get the same? Pete On Tuesday, July 6, 2021 at 9:38:39 AM UTC-4 sther...@google.com wrote: > Hi Team, > > We are trying to build an application which will authenticate based on > user logged in and then should fetch the MCC accounts to which user is > having access to. > > We are fine with the authentication part, but we are unable to gather the > MCC accounts using the Java client library version 8. > *Using reporting : * > GoogleAdsServiceClient googleAdsServiceClient = > googleAdsClient.getLatestVersion().createGoogleAdsServiceClient() > > This throws an error : "java.lang.NoSuchMethodError: > 'com.google.api.gax.rpc.StubSettings$Builder > com.google.ads.googleads.v8.services.stub.GoogleAdsServiceStubSettings$Builder.setMtlsEndpoint(java.lang.String)'" > > *Using Request Response format : * > CustomerServiceClient customerService = > googleAdsClient.getVersion8().createCustomerServiceClient() > > This throws an error : "java.lang.NoSuchMethodError: > 'com.google.api.gax.rpc.StubSettings$Builder > com.google.ads.googleads.v8.services.stub.CustomerServiceStubSettings$Builder.setMtlsEndpoint(java.lang.String)'" > > Please let us know what we are missing here. > > Regards, > Suchitra > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/a631fdc6-3ad3-4579-909d-bc7f7d8df9can%40googlegroups.com.