Join us live on Discord on the Google Advertising and Measurement Community server and on YouTube on March 26th at 11:00 AM EST! We will discuss the new features added in v23.2 of the Google Ads API.
Proxy
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
Connect to the Google Ads API through a proxy by setting the proxy property in your googleads.properties file.
Alternatively, configure the proxy setting programmatically when creating the Google::Ads::GoogleAds::GoogleAdsClient object.
If you need to connect to the Google Ads API through a proxy, you can do so by
setting the proxy property in the Network Connection section of your
googleads.properties
file:
### Network Connection #### Optional proxy server URL to be used for internet connectivity.# If your proxy connection requires authentication, make sure to include it in# the URL, for example: http://user:password@proxy_hostname:8080proxy=INSERT_PROXY_HERE
For example, you can specify http://user:pass@localhost:8082 as a proxy.
Alternatively, you can configure the proxy setting programmatically just like
any other configuration setting:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-02-26 UTC."],[],[]]