无法使用电子邮件更新 Google Now 卡片

Cannot update Google Now card using email

我正在尝试测试 Google 来自电子邮件的 Now 卡片的触发,然后使用 modifiedTime 属性 更新时间。这是我对初始电子邮件的标记,用于触发初始 Google Now 卡片(正在运行):

<html>
<body>

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "EventReservation",
  "reservationNumber": "E123456789",
  "reservationStatus": "http://schema.org/Confirmed",
  "underName": {
    "@type": "Person",
    "name": "Test Person"
  },
  "reservationFor": {
    "@type": "Event",
    "name": "Test Event",
    "startDate": "2015-05-19T16:00:00-05:00",
    "location": {
      "@type": "Place",
      "name": "Your Home",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "111 Main Street",
        "addressLocality": "Columbus",
        "addressRegion": "OH",
        "postalCode": "43215",
        "addressCountry": "US"
      }
    }
  },
  "modifyReservationUrl": "http://www.test.com/testing"
}
</script>
<div>Test Appointment</div>
</body>
</html>

这是我用来尝试更新 Google Now 卡片以反映时间变化的后续电子邮件(无效):

<html>
<body>

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "EventReservation",
  "reservationNumber": "E123456789",
  "reservationStatus": "http://schema.org/Confirmed",
  "underName": {
    "@type": "Person",
    "name": "Test Person"
  },
  "reservationFor": {
    "@type": "Event",
    "name": "Test Event",
    "startDate": "2015-05-19T16:00:00-05:00",
    "location": {
      "@type": "Place",
      "name": "Your Home",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "111 Main Street",
        "addressLocality": "Columbus",
        "addressRegion": "OH",
        "postalCode": "43215",
        "addressCountry": "US"
      }
    }
  },
  "modifyReservationUrl": "http://www.test.com/testing",
  "modifiedTime": "2015-05-19T18:00:00-05:00"  
}
</script>
<div>Test Appointment Changed</div>
</body>
</html>

根据此处的文档:https://developers.google.com/gmail/markup/reference/event-reservation#update_a_event 我正在阅读 "You may update a event reservation simply by sending the updated event reservation and setting modifiedTime to the time of the update.",这两封电子邮件之间的唯一区别是电子邮件的正文以及我在第二封邮件中包含修改时间这一事实。

一些额外的背景信息: 1. 我在发送前已在此处验证我的标记:https://www.google.com/webmasters/markup-tester 2. 我正在使用 Gmail Actions 示例应用程序发送我的测试电子邮件:http://gmail-actions.appspot.com/

查看第一封电子邮件和后续电子邮件中的标记后,您的 startDate 属性看起来是相同的 (2015-05-19T16:00:00-05: 00).您的跟进电子邮件应该在 startDate 属性.

中包含更新时间 (2015-05-19T18:00:00-05:00)

如果您查看 documentaiton 上的描述,modifiedTime 属性 是您输入最后一次修改预订的时间,而不是实际时间更新时间。