Partner mit der alten Startintegration können unterschiedliche action_link_type
mit ihren action_link
(s) verknüpfen.
Mit action_link_type
können Sie ermitteln, welche Aktion ein Nutzer ausführen kann, wenn er über diesen Link zur Website des Partners weitergeleitet wird.
- Jedem action_link kann nur eine
action_link_type
zugeordnet werden.
Beim Bestellen von Essen kann ein Nutzer die folgenden zwei Aktionen anfordern:
- Essen zum Mitnehmen im Restaurant bestellen
- Essen an einen bestimmten Ort liefern lassen (Essen bestellen)
Dies wird allen Partnern empfohlen, die an „Essen mit weniger Kalorien“ teilnehmen. Wenn Sie uns derzeit action_link
(s) mit action_link_type = ACTION_LINK_TYPE_ORDER_FOOD
oder service_type = SERVICE_TYPE_FOOD_ORDERING
senden, sollten Sie Ihre Feeds entsprechend aktualisieren.
Händler, die die Abholung von Essen unterstützen
Händler
{ "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" } ] } ] }
Dienste
{ "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" } ] } ] }
Händler, die die Lieferung von Essen unterstützen
Händler
{ "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" } ] } ] }
Dienste
{ "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" } ] } ] }
Händler, die Essen zur Selbstabholung und Lieferung anbieten
Wenn ein Händler beide Aktionen unterstützt, also die Lieferung und Abholung von Lebensmittelbestellungen, sollten Sie zwei separate action_link
angeben und sie den entsprechenden Aktionen zuordnen.
Händler
{ "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" } ] } ] }
Dienste
{ "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/foodpickup/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/fooddelivery/merch10", "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY", "language": "en", "platform": "ACTION_PLATFORM_WEB_APPLICATION" } ] } ] }
Händler, die beide Aktionen über eine einzige URL unterstützen
Wenn beispielsweise ein action_link
einen Deeplink zu einer generischen Bestellseite für das Restaurant enthält, auf der der Nutzer zwischen Lieferung und Abholung wählen muss, empfehlen wir Folgendes:
Reichen Sie die action_link
-URL zweimal ein und ordnen Sie jeder Instanz die entsprechende action_link_type
zu, wie unten beschrieben:
- Tagge zuerst
action_link
mitaction_link_type = ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY
. - Taggen Sie für die zweite Instanz
action_link
mitaction_link_type = ACTION_LINK_TYPE_ORDER_FOOD_PICKUP
.
Händler
{ "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" } ] } ] }
Dienste
{ "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" } ] } ] }