• Go to https://admin.google.com. Log in as the admin.
  • Go to “Security” -> “API reference”.
  • Check the box next to “Enable API access” and click on “Save Changes”:
    google_admin_api_needed