Los socios de integración inicial heredada tienen la capacidad de asociar diferentes
action_link_type
con su
action_link
.
action_link_type
ayuda a identificar qué tipo de acción puede realizar un usuario.
realizar cuando se los redirecciona al sitio web del socio mediante ese vínculo.
- Solo puedes asociar un
action_link_type
con cada action_link.
Al pedir comida, un usuario puede solicitar que se hagan las dos siguientes acciones realizó:
- Solicitar comida para llevar al restaurante (pide comida para llevar)
- Solicitar entrega de comida a una ubicación específica (pedir comida a domicilio)
Esto se recomienda para todos los socios que participen en Food Actions, en los siguientes casos:
nos envían actualmente
action_link
con action_link_type = ACTION_LINK_TYPE_ORDER_FOOD
o
service_type = SERVICE_TYPE_FOOD_ORDERING
te recomendamos
debes actualizar tus feeds
para que estén en línea con el enfoque actual.
Comercios que permiten pedir comida para llevar con retiro
Comercios
{ "merchant": [ { "merchant_id": "merch10", "name": "Sample Restaurant", "telephone": "+1-650-123-4567", "url": "https://www.restaurantsamplewebsite.com", "category": "restaurant", "geo": { "address": { "street_address": "803 11th Avenue", "locality": "Sunnyvale", "region": "CA", "country": "USA", "postal_code": "94089" } }, "action_link": [ { "url": "https://www.partnerwebsite.com/foodtakeout/merch34", "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT", "language": "en", "platform": "ACTION_PLATFORM_WEB_APPLICATION" } ] } ] }
Servicios
{ "service": [ { "merchant_id": "merch10", "service_id": "10", "localized_service_name": { "value": "Reservation", "localized_value": [ { "locale": "en", "value": "Food Order" } ] }, "action_link": [ { "url": "https://www.rwgpartnerwebsite.com/reserve_table/merch1", "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT", "language": "en", "platform": "ACTION_PLATFORM_WEB_APPLICATION" } ] } ] }
Comercios que respaldan el orden de la entrega de comida
Comercios
{ "merchant": [ { "merchant_id": "merch10", "name": "Sample Restaurant", "telephone": "+1-650-123-4567", "url": "https://www.restaurantsamplewebsite.com", "category": "restaurant", "geo": { "address": { "street_address": "803 11th Avenue", "locality": "Sunnyvale", "region": "CA", "country": "USA", "postal_code": "94089" } }, "action_link": [ { "url": "https://www.partnerwebsite.com/fooddelivery/merch34", "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY", "language": "en", "platform": "ACTION_PLATFORM_WEB_APPLICATION" } ] } ] }
Servicios
{ "service": [ { "merchant_id": "merch10", "service_id": "10", "localized_service_name": { "value": "Food Delivery", "localized_value": [ { "locale": "en", "value": "Food Delivery" } ] }, "action_link": [ { "url": "https://www.rwgpartnerwebsite.com/reserve_table/merch1", "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY", "language": "en", "platform": "ACTION_PLATFORM_WEB_APPLICATION" } ] } ] }
Comercios que admiten el retiro y la entrega de comida para llevar
Si un comercio admite ambas acciones, p.ej., Pedidos de comida y Pedidos de comida
de salida, se recomienda proporcionar dos
action_link
y asociarlos con las acciones adecuadas.
Comercios
{ "merchant": [ { "merchant_id": "merch10", "name": "Sample Restaurant", "telephone": "+1-650-123-4567", "url": "https://www.restaurantsamplewebsite.com", "category": "restaurant", "geo": { "address": { "street_address": "803 11th Avenue", "locality": "Sunnyvale", "region": "CA", "country": "USA", "postal_code": "94089" } }, "action_link": [ { "url": "https://www.partnerwebsite.com/foodtakeout/merch34", "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT", "language": "en", "platform": "ACTION_PLATFORM_WEB_APPLICATION" }, { "url": "https://www.partnerwebsite.com/fooddelivery/merch34", "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY", "language": "en", "platform": "ACTION_PLATFORM_WEB_APPLICATION" } ] } ] }
Servicios
{ s"ervice:" [ { m"erchant_id:" m"erch10," s"ervice_id:" 1"0," l"ocalized_service_name:" { v"alue:" F"ood Order," l"ocalized_value:" [ { l"ocale:" e"n," v"alue:" F"ood Order " } ] }, a"ction_link:" [ { u"rl:" h"ttps://www.rwgpartnerwebsite.com/foodpickup/merch10," a"ction_link_type:" A"CTION_LINK_TYPE_ORDER_FOOD_TAKEOUT," l"anguage:" e"n," p"latform:" A"CTION_PLATFORM_WEB_APPLICATION " } ] }, { m"erchant_id:" m"erch10," s"ervice_id:" 1"0," l"ocalized_service_name:" { v"alue:" F"ood Delivery," l"ocalized_value:" [ { l"ocale:" e"n," v"alue:" F"ood Delivery " } ] }, a"ction_link:" [ { u"rl:" h"ttps://www.rwgpartnerwebsite.com/fooddelivery/merch10," a"ction_link_type:" A"CTION_LINK_TYPE_ORDER_FOOD_DELIVERY," l"anguage:" e"n," p"latform:" A"CTION_PLATFORM_WEB_APPLICATION " } ] } ] }
Comercios que admiten ambas acciones a través de una sola URL
Por ejemplo, cuando un elemento action_link
que dirige a una página genérica de pedidos para el restaurante en el que el usuario
para elegir entre Envío de comida y Retiro de comida, te recomendamos
siguiendo
Envía la action_link
.
URL dos veces, asociando cada instancia con el action_link_type
adecuado de la siguiente manera:
como se indica a continuación:
- En la primera instancia, etiqueta el
action_link
usandoaction_link_type = ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY
- Para la segunda instancia, etiqueta el
action_link
usandoaction_link_type = ACTION_LINK_TYPE_ORDER_FOOD_PICKUP
Comercios
{ "merchant": [ { "merchant_id": "merch10", "name": "Sample Restaurant", "telephone": "+1-650-123-4567", "url": "https://www.restaurantsamplewebsite.com", "category": "restaurant", "geo": { "address": { "street_address": "803 11th Avenue", "locality": "Sunnyvale", "region": "CA", "country": "USA", "postal_code": "94089" } }, "action_link": [ { "url": "https://www.partnerwebsite.com/foodtakeout+delivery/merch34", "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY", "language": "en", "platform": "ACTION_PLATFORM_WEB_APPLICATION" }, { "url": "https://www.partnerwebsite.com/foodtakeout+delivery/merch34", "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT", "language": "en", "platform": "ACTION_PLATFORM_WEB_APPLICATION" } ] } ] }
Servicios
{ "service": [ { "merchant_id": "merch10", "service_id": "10", "localized_service_name": { "value": "Food Order", "localized_value": [ { "locale": "en", "value": "Food Order" } ] }, "action_link": [ { "url": "https://www.rwgpartnerwebsite.com/foodtakeout+delivery/merch10", "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT", "language": "en", "platform": "ACTION_PLATFORM_WEB_APPLICATION" } ] }, { "merchant_id": "merch10", "service_id": "10", "localized_service_name": { "value": "Food Delivery", "localized_value": [ { "locale": "en", "value": "Food Delivery" } ] }, "action_link": [ { "url": "https://www.rwgpartnerwebsite.com/foodtakeout+delivery/merch10", "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY", "language": "en", "platform": "ACTION_PLATFORM_WEB_APPLICATION" } ] } ] }