I'm using this code in java:
//
File propertiesFile = new File("ads.properties.txt");
Credential oAuth2Credential = new OfflineCredentials.Builder().forApi(Api.ADWORDS).fromFile(propertiesFile).build().generateCredential();
AdWordsSession session = new AdWordsSession.Builder().fromFile().withOAuth2Credential(oAuth2Credential).build();
//
But getting an error that says "Invalid configuration in the ads.properties file. Exception: Client ID must be set as api.adwords.clientId in".
In my ads.properties file it says "api.googleads.clientId" and not "api.adwords.clientId" so it seems like I'm using an older java library.
How should I create a session then?