[CONNECTION]; Optional proxy settings to be used by requests.; If you don't have username and password, just specify host and port.proxy="http://user:pass@host:port"
例如,您可以将 http://user:pass@localhost:8082 指定为代理。
以程序化方式配置
或者,您也可以在 GoogleAdsClientBuilder 上以程序化方式配置代理设置:
$googleAdsClient = (new GoogleAdsClientBuilder()) // ... ->withProxy('http://user:pass@localhost:8082') ->build();