ลิงก์การดำเนินการช่วยให้ผู้ใช้โต้ตอบกับ Deep Link ซึ่งลิงก์ไปยังเว็บไซต์ของพาร์ทเนอร์เพื่อดำเนินการ Deep Link จะแสดงในการ์ดความรู้ของผู้ขาย คู่มือนี้จะอธิบายวิธี เพิ่มลิงก์การดำเนินการลงในฟีด
ลิงก์การดำเนินการระดับผู้ขาย
คุณควรระบุลิงก์การดำเนินการผ่านฟีดผู้ขายเมื่อบริการทั้งหมด ของผู้ขายที่กำหนดเปลี่ยนเส้นทางผู้ใช้ไปยังหน้า Landing Page เดียวกันใน เว็บไซต์ของพาร์ทเนอร์
ต้องระบุประเภทการดำเนินการโดยใช้
ActionLinkType
ควรตั้งค่า ActionLinkType เป็น ACTION_LINK_TYPE_BOOK_APPOINTMENT สำหรับการผสานรวมการเปลี่ยนเส้นทางนัดหมาย
// Predetermined type of action associated with an action link. enum ActionLinkType { // The action link type is unspecified. ACTION_LINK_TYPE_UNSPECIFIED = 0; // The action link type is booking an appointment. ACTION_LINK_TYPE_BOOK_APPOINTMENT = 1; // The action link type is booking an online appointment. ACTION_LINK_TYPE_BOOK_ONLINE_APPOINTMENT = 2; // The action link type is ordering food for delivery or takeout or both. ACTION_LINK_TYPE_ORDER_FOOD = 3; // The action link type is ordering food for delivery. ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY = 4; // The action link type is ordering food for takeout. ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT = 5; // The action link type is making a dining reservation. ACTION_LINK_TYPE_MAKE_DINING_RESERVATION = 6; // The action link type allows users to shop from the given merchant. It // could either be delivery or pickup. ACTION_LINK_TYPE_SHOP_ONLINE = 7; }
ลิงก์การดำเนินการระดับบริการ
คุณควรระบุลิงก์การดำเนินการผ่านฟีดบริการเมื่อบริการมีลิงก์เปลี่ยนเส้นทางเฉพาะ
ควรตั้งค่า ActionLinkType เป็น ACTION_LINK_TYPE_BOOK_APPOINTMENT สำหรับการผสานรวมการเปลี่ยนเส้นทางนัดหมาย
ต้องระบุประเภทการดำเนินการโดยใช้ ActionLinkType ซึ่งเป็นส่วนหนึ่งของ
ActionLink
ในฟีดบริการ
// Predetermined type of action associated with an action link. enum ActionLinkType { // The action link type is unspecified. ACTION_LINK_TYPE_UNSPECIFIED = 0; // The action link type is booking an appointment. ACTION_LINK_TYPE_BOOK_APPOINTMENT = 1; // The action link type is booking an online appointment. ACTION_LINK_TYPE_BOOK_ONLINE_APPOINTMENT = 2; // The action link type is ordering food for delivery or takeout or both. ACTION_LINK_TYPE_ORDER_FOOD = 3; // The action link type is ordering food for delivery. ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY = 4; // The action link type is ordering food for takeout. ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT = 5; // The action link type is making a dining reservation. ACTION_LINK_TYPE_MAKE_DINING_RESERVATION = 6; // The action link type allows users to shop from the given merchant. It // could either be delivery or pickup. ACTION_LINK_TYPE_SHOP_ONLINE = 7; }