Spécifier des liens d'action
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Un lien d'action permet aux utilisateurs d'interagir avec un lien profond qui redirige vers le site Web du partenaire pour effectuer une action. Les liens profonds s'affichent dans la fiche info du marchand. Ce guide explique comment ajouter des liens d'action aux flux.
Liens action_link au niveau du marchand
Vous devez fournir un lien d'action via les flux de marchands lorsque tous les services d'un marchand donné redirigent l'utilisateur vers la même page de destination sur le site Web du partenaire.
Le type d'action doit être spécifié à l'aide de ActionLinkType, qui fait partie de
ActionLink
dans le flux des marchands.
// Predetermined type of action associated with an action link.enumActionLinkType{// 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;}
Liens d'action au niveau des services
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2026/03/26 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2026/03/26 (UTC)."],[],["Partners integrating with the Actions Center Reservations Business Link add action links to merchant feeds. These links, displayed on the merchant's knowledge panel, direct users to the partner's website for specific actions. Each merchant can have one action link per `ActionLinkType`, which specifies the action type (e.g., booking, ordering, reservations). `ActionLinkType` options include booking appointments, ordering food (delivery/takeout), making dining reservations, or shopping online. Action links should lead to a location-specific page where users complete the action.\n"]]