my first API call

38 views
Skip to first unread message

goo...@vonarx-marketing.ch

unread,
Jun 15, 2017, 5:24:55 PM6/15/17
to AdWords API Forum
Hello,

I'm new to this and I try to set up a proper environment for future work.

I simply followed the instructions here: https://www.youtube.com/watch?v=80KOeuCNc0c

To play around with the API I set up a test account and I try to do my first API Call.

When I execute ads.properties to get the URL - for later get a refresh-token I always get the following Errors:

Exception in thread "main" java.lang.Error: Unresolved compilation problems:
    GoogleClientSecrets cannot be resolved to a type
    GoogleClientSecretsBuilder cannot be resolved to a type
    Api cannot be resolved to a variable
    ValidationException cannot be resolved to a type
    Credential cannot be resolved to a type

    at adwords.axis.auth.GetRefreshToken.main(GetRefreshToken.java:106)

What could cause this problem and how can I solve it?

Thank you and best reagrds

Peter Oliquino

unread,
Jun 15, 2017, 11:51:15 PM6/15/17
to AdWords API Forum
Hi,

Could you confirm if you are trying to generate a refreshToken via the installed app flow using the Java client library? If yes, kindly refer to the link for the guide. If the issue persists, please send to me the step by step procedures you are following when you encountered the issue. Please reply using Reply privately to author.

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages