メールからの 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 「更新されたイベント予約を送信し、modifiedTime を時刻に設定するだけで、イベント予約を更新できます」と読んでいます。 2 つのメールの唯一の違いは、メールの本文と、2 番目に modifiedTime が含まれていることです。
追加の背景情報: 1. 送信前にここでマークアップを検証しました: https://www.google.com/webmasters/markup-tester 2. Gmail アクション サンプル アプリを使用してテスト メールを送信しています: http: //gmail-actions.appspot.com/