how to fix error not check exception?

37 views
Skip to first unread message

rubans...@gmail.com

unread,
Mar 8, 2019, 2:01:01 PM3/8/19
to AdWords API and Google Ads API Forum
I have got below error ,how to fix this error?

Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkNotNull(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
at com.google.api.ads.common.lib.auth.OfflineCredentials$Api.<init>(OfflineCredentials.java:89)
at com.google.api.ads.common.lib.auth.OfflineCredentials$Api.<clinit>(OfflineCredentials.java:81)
at clevermoe_service.KeywordVolume.getKeywordVolumeFromGoogleAds(KeywordVolume.java:56)

googleadsapi...@google.com

unread,
Mar 8, 2019, 6:31:18 PM3/8/19
to AdWords API and Google Ads API Forum
Hello Ruban,

Can you confirm that you are pointing to the latest version if you are using the newly released features of the Google Ads API v1? For Java, the latest client library is available here. If you are still facing the issue, please share the code snippet you are trying to use and the API/ client library version you are pointing to. To share the details requested, you could use reply privately to the author option.

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

Reply all
Reply to author
Forward
0 new messages