Google Ads API에 관한 의견을 공유하고 싶으신가요?
등록하여 사용자 연구에 참여하도록 초대받으세요.
OAuth 서비스 계정 흐름
<ph type="x-smartling-placeholder">
이 가이드에서는
서비스 계정을 사용하여 사용자 인증 정보를 생성합니다.
이 단계는 OAuth2를 취소하거나 삭제하지 않는 한 한 번만 수행하면 됩니다.
사용자 인증 정보를 제공합니다
OAuth2 사용자 인증 정보 만들기
서비스 계정 ID와 *.JSON 생성
파일(제공:
안내에 따른 다음 이 페이지로 돌아옵니다.
JSON 파일로 클라이언트 라이브러리 설정
App.config / Web.config
에서 다음 키를 구성합니다. 자세한 내용은
구성 가이드를
확인하세요.
<add key="OAuth2Mode" value="SERVICE_ACCOUNT" />
<add key="OAuth2SecretsJsonPath" value="INSERT_OAUTH2_SECRETS_JSON_FILE_PATH_HERE" />
<!-- Supply the email address of the user to impersonate. -->
<add key="OAuth2PrnEmail" value="INSERT_OAUTH2_USER_EMAIL_HERE" />
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-12(UTC)
[null,null,["최종 업데이트: 2024-09-12(UTC)"],[[["The Google Ads API client library for .NET will no longer support .NET 5.0 starting with version 19.0.0, and upgrading before the end of 2024 is recommended."],["This guide explains how to set up OAuth2 for API access using service accounts, requiring a Google Workspace domain and domain-wide delegation access granted to the service account."],["Users need to generate a service account ID and JSON file before proceeding with client library configuration."],["Configuration involves setting keys in `App.config` or `Web.config`, including OAuth2Mode, OAuth2SecretsJsonPath, and OAuth2PrnEmail."]]],[]]