You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: google-ads-examples/src/main/java/com/google/ads/googleads/examples/authentication/AuthenticateInDesktopApplication.java
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -30,12 +30,11 @@
30
30
importjava.util.Properties;
31
31
32
32
/**
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.
35
34
*
36
35
* <p>This example is meant to be run from the command line and requires user input.
37
36
*/
38
-
publicclassAuthenticateInStandaloneApplication {
37
+
publicclassAuthenticateInDesktopApplication {
39
38
40
39
// Scopes for the generated OAuth2 credentials. The list here only contains the AdWords scope,
41
40
// but you can add multiple scopes if you want to use the credentials for other Google APIs.
0 commit comments