bookmark_borderbookmark
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
عند استخدام أي
حقول اختيارية في إحدى methods
لطلبات البحث، يجب إنشاء رسالة الطلب خارج method ونقلها كمَعلمة واحدة.
لا تتوفّر رؤوس الطلبات الاختيارية، مثل عنوان
validate_only في
الطريقة GoogleAdsService.Search،
في توقيع الطريقة كمَعلمات كلمات رئيسية، لذا يجب تعيينها
في رسالة الطلب مباشرةً.
لتحديد ما إذا كان حقل عنصر الطلب مطلوبًا أو اختياريًا، يمكنك
الرجوع إلى تعريفات protobuf ل
الخدمات
والبحث عن الحقول التي تحتوي على التعليق التوضيحي [(google.api.field_behavior) =
REQUIRED].
تاريخ التعديل الأخير: 2025-03-29 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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"]],["تاريخ التعديل الأخير: 2025-03-29 (حسب التوقيت العالمي المتفَّق عليه)"],[[["When using optional fields in Google Ads API requests, construct the request message separately and pass it as a single parameter to the method."],["Optional request headers like `validate_only` are set directly on the request message, not as keyword parameters in the method signature."],["You can identify required or optional request fields by checking the protobuf definitions and looking for the `[(google.api.field_behavior) = REQUIRED]` annotation."],["To use optional fields, create an instance of the request message type, populate its fields including the optional ones, and then pass it to the API method."]]],[]]