Google Ads API에 관한 의견을 공유하고 싶으신가요?
등록하여 사용자 연구에 참여하도록 초대받으세요.
프록시
프록시를 통해 Google Ads API에 연결해야 하는 경우 다음 방법을 사용할 수 있습니다.
앱의 CONNECTION
섹션에서 proxy
속성을 설정합니다.
google_ads_php.ini
파일:
[CONNECTION]
; Optional proxy settings to be used by requests.
; If you don't have username and password, just specify host and port.
proxy = "protocol://user:pass@host:port"
예를 들어 http://user:pass@localhost:8082
를 프록시로 지정할 수 있습니다.
또는 다음과 같이 프로그래매틱 방식으로 프록시 설정을 구성할 수 있습니다.
다른 구성 설정:
$googleAdsClient = (new GoogleAdsClientBuilder())
...
->withProxy('protocol://user:pass@host:port')
->build();
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-08-20(UTC)
[null,null,["최종 업데이트: 2024-08-20(UTC)"],[[["The Google Ads API can be accessed through a proxy by configuring the `proxy` property in the `google_ads_php.ini` file or programmatically using the `withProxy()` method."],["The proxy configuration should follow the format `protocol://user:pass@host:port`, where username and password are optional if not required by the proxy server."]]],[]]