Trying to migrate from AdWords API to Google Ads API. Using v6.
In my POM file I have:
<dependency>
<groupId>com.google.api-ads</groupId>
<artifactId>google-ads</artifactId>
<version>10.0.0</version>
</dependency>
I even added explicitly:
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-okhttp</artifactId>
<version>1.30.0</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty</artifactId>
<version>1.30.0</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty-shaded</artifactId>
<version>1.30.0</version>
</dependency>
But I'm still getting this:
Exception in thread "main" io.grpc.ManagedChannelProvider$ProviderNotFoundException: No functional channel service provider found. Try adding a dependency on the grpc-okhttp, grpc-netty, or grpc-netty-shaded artifact
When I try to do this:
GoogleAdsServiceClient googleAdsService = client.getLatestVersion().createGoogleAdsServiceClient();
I'm pretty much stuck at "hello world" at this point.
Any ideas?
P.S. I wish there was a giant jar with all dependencies shipped without any need to use Maven or anything else. That is known to work as is, without needing anything else.