هل يهمّك مشاركة ملاحظاتك حول Google Ads API؟
اشترِك للاستفادة من فرصة المشاركة في الأبحاث المتعلّقة بالمستخدمين.
الخادم الوكيل
إذا كنت بحاجة إلى الاتصال بخدمة Google Ads API من خلال خادم وكيل، يمكنك إجراء ذلك من خلال
ضبط السمة 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
كخادم وكيل.
بدلاً من ذلك، يمكنك ضبط إعداد الخادم الوكيل آليًا تمامًا مثل
أي إعدادات أخرى:
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 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-03-04 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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`."]]],[]]