Google Ads API에 관한 의견을 공유하고 싶으신가요?
등록하여 사용자 연구에 참여하도록 초대받으세요.
프록시 구성
Java 클라이언트 라이브러리는 API 연결을 위한 프록시 설정을 지원합니다.
설정
라이브러리는
Java용 표준 프록시 설정입니다.
HTTPS 프록시의 경우 프록시 구성을 다음과 같이 설정합니다.
-Dhttps.proxyHost=HOST -Dhttps.proxyPort=PORT
HTTP 프록시의 경우 (자체 HTTP 엔드포인트를 제공하지 않는 한 권장되지 않음)
프록시 구성을 다음과 같이 설정합니다.
-Dhttp.proxyHost=HOST -Dhttp.proxyPort=PORT
런타임에 HTTP 프록시와 HTTPS 프록시를 모두 구성할 수 있습니다.
System.setProperty("https.proxyHost", HOST);
System.setProperty("https.proxyPort", PORT);
이 설정을 변경하는 경우 제공된 서비스 클라이언트를 다시 만들어야 합니다.
아티스트: GoogleAdsClient.getVersionX().createYServiceClient()
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-10-14(UTC)
[null,null,["최종 업데이트: 2024-10-14(UTC)"],[[["The Java client library enables connections to the API through proxy settings, utilizing standard Java proxy configurations."],["For HTTPS proxy connections, use `-Dhttps.proxyHost=HOST -Dhttps.proxyPort=PORT`, while HTTP proxy (less secure) uses `-Dhttp.proxyHost=HOST -Dhttp.proxyPort=PORT`."],["Both HTTP and HTTPS proxy settings can be dynamically configured at runtime using `System.setProperty()`."],["Any changes to the proxy settings require recreating service clients via `GoogleAdsClient.getVersionX().createYServiceClient()` to apply the new configuration."]]],[]]