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.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2e55a3d0-1685-440f-8483-1ef464b0efbfn%40googlegroups.com.
  • Exception: No functional cha... 'KG' via AdWords API and Google Ads API Forum

Reply via email to