-
Log in to google account.
-
Go to https://console.developers.google.com
2.1 Click "Select a project" and click "NEW PROJECT".
2.2 Enter project name 'zdproj' and click "Create".
-
Go to https://console.developers.google.com/apis/library?project=zdproj&supportedpurview=project
3.1 Search for google drive and click "Google Drive API" from search results.
3.2 Click "ENABLE".
-
Go to https://console.developers.google.com/apis/api/drive.googleapis.com/overview?project=zdproj&supportedpurview=project
4.1 Click "CREATE CREDENTIALS" button.
4.2 On form select "Google Drive API", "Other non-UI (e.g. cron job, daemon)", "Application data", "No, I'm not using them". See image below.
4.3 Click "What credentials do I need?" button. -
On next page set "Service account name" to "zd" and choose "Editor" in "Role"(Project->Editor). Make sure that "JSON" is selected as "Key type".
-
Click "Continue" button. JSON file will be downloaded with service account credentials. Save it near to zdownloader location and update google_service_account_json_file= in zdownloader.ini file.