خلاصة الإجراءات

إنشاء خلاصات الإجراءات وتحميلها

عند إنشاء خلاصات الإجراءات وتحميلها، اتّبِع التعليمات التالية:

  • اتّبِع المواصفات الموضّحة في خلاصة الإجراءات لملفات بيانات الإجراءات. ننصحك باستخدام أسماء ملفات بيانات إجراءات فريدة لكل عملية تحميل. أدرِج طابعًا زمنيًا في اسم الملف، على سبيل المثال، action_1633621547.json.
  • في واصف مجموعة الملفات، اضبط الحقل name على reservewithgoogle.action.v2. للاطّلاع على مثال لملف الوصف، يُرجى الرجوع إلى نموذج JSON. ننصح باستخدام أسماء ملفات وصفية فريدة لكل عملية تحميل. أدرِج طابعًا زمنيًا في اسم الملف، على سبيل المثال، action_1633621547.filesetdesc.json. يجب تحميل ملف الوصف إلى خادم SFTP العام.
  • حمِّل الخلاصات إلى خادم SFTP العام يوميًا كعمليات إعادة تحميل كاملة.
  • يمكنك العثور على تفاصيل خادم SFTP في قسم الإعدادات > الخلاصات في "بوابة الشركاء".
  • اختيار خوادم الخلاصات

    اختيار خوادم الخلاصات في "بوابة الشركاء"
  • يمكنك الاطّلاع على حالة عرض الخلاصة في قسم العرض > السجلّ في "بوابة الشريك".

التعريفات

تعريف ActionFeed

message ActionFeed {
  repeated ActionDetail data = 1;
}

تعريف ActionDetail

message ActionDetail {
  string entity_id = 2;
  string link_id = 3;

  // Deep link for action detail
  string url = 4;

  // The actions that can be performed using this deep link. At least one
  // Action must be specified.
  repeated Action actions = 1;
}

تعريف الإجراء

// Information about an Action which could be performed.
message Action {
  // Deprecated fields not to be reused.
  reserved 1;

  oneof action_info {
    AppointmentInfo appointment_info = 2;
  }
}

تعريف AppointmentInfo

// Indicates that the parent Action is for booking an appointment.
// In v2 of the Action feed, the deep link URL is specified on ActionDetail.url,
// so this message has no fields and should be set as an empty object
// (for example, "appointment_info": {} in JSON).
message AppointmentInfo {
}

نماذج خلاصة الإجراءات

خلاصة الإجراءات

{
  "data": [
    {
      "entity_id": "appointments-merchant-1",
      "link_id": "appointment-link-1",
      "url": "https://www.partnerwebsite.com/appointment/appointment-partner-1",
      "actions":[
        {
          "appointment_info": {}
        }
      ]
    }
  ]
}

ملف الوصف

{
  "generation_timestamp": 1677540395,
  "name": "reservewithgoogle.action.v2",
  "data_file": [
    "action_1677540395_0001.json",
    "action_1677540395_0002.json"

  ]
}