如果您需要通过代理连接到 Google Ads API,可通过设置
http_proxy 配置
google-ads.yaml
文件:
# 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
[[["易于理解","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"]],["最后更新时间 (UTC):2024-08-20。"],[[["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."]]],[]]