ระบุลิงก์การดำเนินการ (เดิม)

ลิงก์การดำเนินการช่วยให้ผู้ใช้โต้ตอบกับ Deep Link ที่เชื่อมโยงไปยังเว็บไซต์ของพาร์ทเนอร์เพื่อดําเนินการต่างๆ ได้ Deep Link จะแสดงในการ์ดความรู้ของผู้ขาย คู่มือนี้จะอธิบายวิธีเพิ่มลิงก์การดำเนินการลงในฟีด

คุณระบุลิงก์การดําเนินการได้ 2 ที่ ดังนี้

  • ฟีดผู้ขาย - ใช้งานลิงก์การดำเนินการผ่านฟีดผู้ขาย เมื่อผู้ขายรายเดียวมีหลายบริการที่ดำเนินการที่คล้ายกัน
  • ฟีดบริการ - ใช้งานลิงก์การดำเนินการผ่านฟีดบริการ เมื่อผู้ขายรายเดียวมีหลายบริการที่ทำงานแตกต่างกัน

คุณควรระบุลิงก์การดำเนินการผ่านฟีดผู้ขายเมื่อบริการทั้งหมดของผู้ขายรายใดรายหนึ่งเปลี่ยนเส้นทางผู้ใช้ไปยังหน้า Landing Page เดียวกันในเว็บไซต์ของพาร์ทเนอร์

ซึ่งมักจะเป็นวิธีการเดียวที่มีความหมายสำหรับร้านอาหาร เนื่องจากผู้ขายมีเพียง 1 บริการเท่านั้น

ตัวอย่างเช่น

  • ผู้ขายให้บริการหลายอย่าง เช่น ชั้นเรียนโยคะ ชั้นเรียนชกมวย คลาสปั่นจักรยาน ตัดผม ทำสีผม แชมพู ลิงก์การดำเนินการจะเปลี่ยนเส้นทางไปยังหน้า Landing Page ที่แสดงแคตตาล็อกบริการทั้งหมดสำหรับผู้ขาย

ต้องระบุประเภทการดำเนินการโดยใช้ 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;
  }

คุณควรระบุลิงก์การดำเนินการผ่านฟีดบริการเมื่อผู้ขายมี Deep Link ที่แตกต่างกันต่อบริการ หรือผู้ขายมีหลายบริการที่ดำเนินการต่างกัน เช่น การสั่งอาหารและการจองโต๊ะอาหาร

ตัวอย่างเช่น

  • ร้านอาหารให้บริการจองโต๊ะสำหรับรับประทานอาหารและสั่งอาหาร ลิงก์การดำเนินการแบบหนึ่งเปลี่ยนเส้นทางผู้ใช้ไปยังหน้าจองอาหาร และอีกลิงก์เปลี่ยนเส้นทางผู้ใช้ไปยังหน้าสั่งอาหาร

คุณระบุประเภทการดำเนินการได้โดยใช้ ServiceType ในบริการและ ActionLinkType ซึ่งเป็นส่วนหนึ่งของ ActionLink ในฟีดผู้ขาย

  enum ServiceType {
    SERVICE_TYPE_UNSPECIFIED = 0;
    // Service that provides dining reservation.
    SERVICE_TYPE_DINING_RESERVATION = 1;
    // Service that provides food ordering in general, could be either takeout
    // or delivery or both.
    SERVICE_TYPE_FOOD_ORDERING = 2;
    // Service that only provides food delivery.
    SERVICE_TYPE_FOOD_DELIVERY = 6;
    // Service that only provides food takeout.
    SERVICE_TYPE_FOOD_TAKEOUT = 7;

    // Services that provide event based ticketing (e.g. concerts, sporting
    // events, shows). Do not use for Reserve with Google integrations.
    SERVICE_TYPE_EVENT_TICKET = 3;
    SERVICE_TYPE_TRIP_TOUR = 4;

    // Service that provides appointments or classes. Recommended for (1) health
    // and fitness, (2) spa and beauty, and (3) financial consults and
    // evaluations services. Please see the supported service types:
    // https://developers.google.com/maps-booking/guides/end-to-end-integration/overview
    SERVICE_TYPE_APPOINTMENT = 5;
    // Service that provides appointment for an online class or session which
    // will be fully virtual. Must be set if enabling virtual service bookings.
    SERVICE_TYPE_ONLINE_APPOINTMENT = 8;

    // Service that allows users to shop from the given merchant. It could
    // either be delivery or pickup.
    SERVICE_TYPE_SHOPPING = 9;
  }

การใช้ OrderOnlineMetadata

OrderOnlineMetadata เพื่อระบุข้อมูลที่จะแสดงต่อผู้ใช้เกี่ยวกับค่าธรรมเนียม จำนวนการสั่งซื้อขั้นต่ำ และความพร้อมให้บริการสำหรับวิธีการดำเนินการตามคำสั่งซื้อสินค้าออนไลน์ต่างๆ เมื่อรวมไว้แล้ว ข้อมูลเมตานี้จะรวมอยู่ในลิงก์การดำเนินการในฟีด Merchant Center

ดูข้อมูลเพิ่มเติมเกี่ยวกับวิธีรวมข้อมูลนี้ในฟีดอย่างถูกต้องในกรณีที่การผสานรวมต้องการได้ในเอกสารต่อไปนี้