רוצים לשתף משוב על Google Ads API?
נרשמים כדי שנוכל להזמין אתכם להשתתף במחקר על התנהגות משתמשים.
שרת Proxy
אם אתם צריכים להתחבר ל-Google Ads API דרך שרת proxy, תוכלו לעשות זאת על ידי הגדרת המאפיין proxy
בקטע Network Connection
בקובץ googleads.properties
:
### 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:8080
proxy=INSERT_PROXY_HERE
לדוגמה, אפשר לציין את http://user:pass@localhost:8082
כשרת proxy.
לחלופין, אפשר להגדיר את הגדרת ה-proxy באופן פרוגרמטי, בדיוק כמו כל הגדרה אחרת:
my $api_client = Google::Ads::GoogleAds::GoogleAdsClient->new({
proxy => "INSERT_PROXY_HERE"
});
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-03-04 (שעון UTC).
[null,null,["עדכון אחרון: 2025-03-04 (שעון UTC)."],[[["Configure Google Ads API connections through a proxy by setting the `proxy` property in the `googleads.properties` file or programmatically within the `Google::Ads::GoogleAds::GoogleAdsClient` constructor."],["When using a proxy that requires authentication, include the credentials within the proxy URL in the format `http://user:password@proxy_hostname:8082`."]]],[]]