프록시를 통해 Google Ads API에 연결해야 하는 경우 google-ads.yaml 파일에서 http_proxy 구성을 설정하면 됩니다.
# Proxy configuration################################################################################ Below you can specify an optional proxy configuration to be used by ## requests. If you don't have username and password, just specify host and ## port. ## #############################################################################http_proxy:INSERT_PROXY_HERE
예를 들어 http://user:pass@localhost:8082를 프록시로 지정할 수 있습니다.
또는 다른 구성 설정과 마찬가지로 GoogleAdsClient 메서드(load_from_dict, load_from_env, load_from_string)를 사용하여 프록시 설정을 프로그래매틱 방식으로 구성할 수 있습니다. 예를 들면 다음과 같습니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-02-26(UTC)"],[[["Connect to the Google Ads API through a proxy by setting the `http_proxy` configuration in your `google-ads.yaml` file."],["Alternatively, configure the proxy programmatically using `GoogleAdsClient` methods like `load_from_dict`, accepting a dictionary with an `http_proxy` key."],["To use a proxy with the `load_from_env` method, set the `GOOGLE_ADS_HTTP_PROXY` environment variable."]]],[]]