Möchten Sie uns Feedback zur Google Ads API geben?
Melde dich an, um an Nutzerstudien teilzunehmen.
Proxy
Wenn Sie über einen Proxy eine Verbindung zur Google Ads API herstellen müssen, führen Sie folgende Schritte aus:
Festlegen des Attributs proxy
im Abschnitt Network Connection
Ihres
googleads.properties
Datei:
### 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
Beispielsweise können Sie http://user:pass@localhost:8082
als Proxy angeben.
Alternativ können Sie die Proxy-Einstellung wie
jede andere Konfigurationseinstellung:
my $api_client = Google::Ads::GoogleAds::GoogleAdsClient->new({
proxy => "INSERT_PROXY_HERE"
});
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-08-20 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-08-20 (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`."]]],[]]