Specifying action links

  • This guide is specifically for partners integrating with the Actions Center Reservations Business Link integration.

  • Action links, displayed on merchant knowledge panels, enable user interaction via deep links to partner websites.

  • Merchant-level action links should be used when all services for a merchant direct to the same partner landing page.

  • The ActionLinkType in the Merchants feed specifies the type of action associated with the link (e.g., ordering food, booking appointments).

  • Services feeds implementation is not recommended for new integrations; existing integrations should refer to the legacy documentation for maintenance.

An action link provides the ability for users to interact with a deep link which links out to the partner's website to perform an action. Deep links are displayed on the merchant's knowledge panel. This guide will describe how to add action links to the feeds.

You should provide an action link via the Merchant feeds when all services for a given merchant redirects the user to the same landing page on the partner's website.

The type of action must be specified using the ActionLinkType which is part of ActionLink in the merchants feed.

  // 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;
  }