Skip to content

Commit be8a7ef

Browse files
authored
Update installed application -> desktop application (#352)
Change-Id: Ie786e25e983d8fdf9d559bb053d46860ea6c3913
1 parent 06210e1 commit be8a7ef

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

google-ads-examples/src/main/java/com/google/ads/googleads/examples/authentication/AuthenticateInStandaloneApplication.java renamed to google-ads-examples/src/main/java/com/google/ads/googleads/examples/authentication/AuthenticateInDesktopApplication.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,11 @@
3030
import java.util.Properties;
3131

3232
/**
33-
* Creates an OAuth2 refresh token for the Google Ads API using the Native/Installed application
34-
* flow.
33+
* Creates an OAuth2 refresh token for the Google Ads API using the Desktop application flow.
3534
*
3635
* <p>This example is meant to be run from the command line and requires user input.
3736
*/
38-
public class AuthenticateInStandaloneApplication {
37+
public class AuthenticateInDesktopApplication {
3938

4039
// Scopes for the generated OAuth2 credentials. The list here only contains the AdWords scope,
4140
// but you can add multiple scopes if you want to use the credentials for other Google APIs.
@@ -73,7 +72,7 @@ public static void main(String[] args) throws IOException {
7372
clientSecret = String.valueOf(console.readPassword());
7473
}
7574

76-
new AuthenticateInStandaloneApplication().runExample(clientId, clientSecret);
75+
new AuthenticateInDesktopApplication().runExample(clientId, clientSecret);
7776
}
7877

7978
public void runExample(String clientId, String clientSecret) throws IOException {

0 commit comments

Comments
 (0)