【问题标题】:schema.org ViewAction button not working in Gmailschema.org ViewAction 按钮在 Gmail 中不起作用
【发布时间】:2014-04-30 17:28:12
【问题描述】:

我正在尝试使用 schema.org 创建带有 ViewAction 按钮的电子邮件,但它不起作用。我正在使用下一页上的演练:https://developers.google.com/gmail/actions/apps-script-tutorial。这是脚本:

<script type="application/ld+json">
{
"@context":       "http://schema.org",
"@type":          "EmailMessage",
"description":    "Check this out",
"action": {
"@type": "ViewAction",
"url":   "https://www.youtube.com/watch?v=eH8KwfdkSqU"
}
}
</script>

我查看了脚本中的所有元素,在我看来它们都被正确使用了。所以我很难过。有人知道这里发生了什么吗?

【问题讨论】:

    标签: google-schemas


    【解决方案1】:

    您是使用 Gmail 帐户从/向其发送邮件还是使用了 Google Apps 帐户?如果是第二个,请在此处查看我的答案:Gmail Actions in Inbox: End to end example with google apps account

    【讨论】:

    • 第一个案例呢?由于我使用 SMTP 设置从 abc@gmail.com 发送到 abc@gmail.com 仍然看不到操作按钮
    • 是的,教程对我来说也失败了。我从我自己@gmail 发送到我自己@gmail,直接发布到 smtp.gmail.com(作为我自己@gmail 的身份验证)。根据教程,我应该看到(是的,经过验证的)操作。但我没有。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-11-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多