Specify action links

  • This guide explains how to add action links to feeds for partners integrating with the Actions Center Appointments Redirect integration.

  • Action links, displayed on the merchant's knowledge panel, enable users to interact with deep links to the partner's website.

  • ACTION_LINK_TYPE_BOOK_APPOINTMENT should be used as the ActionLinkType for both merchant and service level action links in this integration.

  • Merchant level action links are used when all services redirect to the same landing page, while service level action links are for services with dedicated redirect links.

  • The action link should direct users to a page specific to the location where they can complete the desired action.

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.

The ActionLinkType should be set to ACTION_LINK_TYPE_BOOK_APPOINTMENT for the Appointments Redirect integration.

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

You should provide an action link via the Services feeds when a service has a dedicated redirect link.

The ActionLinkType should be set to ACTION_LINK_TYPE_BOOK_APPOINTMENT for the Appointments Redirect integration.

The type of action must be specified using the ActionLinkType which is part of ActionLink in the services 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;
  }