-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable To Make connection to Google add API though Java 1.8 maven project #793
Comments
Hi, Since this is a dependency issue, could you share your dependency tree via the following command?
Thanks, |
|
check for dependency tree for |
The dependency
|
I still find the same issue
|
campaign.log |
Your dependency tree still shows the
|
Although your When you run your application, the classpath of Thanks, |
Hi Josh, I have resolved the dependencies as well, dependencies below Attached are the logs |
Errors in the log suggest this is an issue with Netty dependencies (see https://github.com/grpc/grpc-java/blob/master/SECURITY.md#netty for a lengthy explanation of all of this). The However:
I suspect those conflicting Netty versions are what's leading to these errors. Also, just wanted to mention that there's a newer version of the Thanks, |
Hi Josh, grpc-netty version that latest apache release supports is
[INFO] +- org.apache.curator:curator-framework:jar:5.6.0:compile Now with given above fact and the document stating version alignment (https://github.com/grpc/grpc-java/blob/master/SECURITY.md#netty) grpc-netty verion should ideally be 1.58.x to 1.59.x which defeats the purpose which you have stated earlier. The error still remains same. Thanks, |
Hi Ayon, Have you tried using the shadow jar for Google Ads API?
|
I have tried this as well, same issue. What I will do now is since current project can not sync with version mappings somehow, I will create a new project using rest probably so that there is no version management issue. |
This is my current implementation, request is getting stuck.
GoogleConversionManager.java
MainClass.java
Output
after which this is stuck infinitely |
Hi, The most common cause I've seen for a stuck request like this is if the OAuth credentials you configured are invalid. There's an issue with gRPC and gax-java winding up in an infinite loop in this situation (see #169, which will hopefully be fixed soon). To determine if that's the cause of your request being stuck, could you modify how you construct your
Thanks, |
I have tried the above it is working, thanks. for following command It says Enter authorization code: What could be the issue here? |
Hi, You can only use each authorization code once, and you only have a limited amount of time to use each authorization code before it expires. You can generate a new authorization code by going through the auth process again, either by following the Java library process or using the OAuth Playground. The above applies to the authorization code you get while generating a refresh token, not refresh tokens. Refresh tokens are longer-lived and have their own set of expiration rules. Thanks, |
I've tried multiple times, but I can't get the OAuth 2.0 Playground to produce that Thanks, |
Yes I get this error, If you want to reach out to me for credentials json, please feel free to reach out me at MPL is a big enough GCP customer for google, we have been on this for a month now, if you could help us, I would be immensely glad. |
Hi, I just sent you an email from our support address ( Thanks, |
Hi, I've sent multiple replies to case Thanks, |
Describe the bug:
Unable To Make connection to Google add API via java sdk 30.0.0, we have moved to latest build since older build was deprecated. Moved from v13 to v16
Steps to Reproduce:
Use version
as dependency
Code Block to run
Expected behavior:
must make connection, must allow to push events to google
Client library version and API version:
Client library version: com.google.ads.googleads.v16.services
Google Ads API version: 30.0.0
JDK version: 1.8
Request/Response Logs:
Response error logs attached
error.log
Anything else we should know about your project / environment:
We also use facebook ad manager which uses older version of guava, but we can take care of it later
The text was updated successfully, but these errors were encountered: