Google Rich Results 测试 - 项目不支持评论

Google Rich Results Test - Item does not support reviews

我在 Google 的 Rich Results 测试中尝试了很多东西,然后 运行 进入了这个问题。

<html>
  <head>
  <title>Test SEO</title>
    <script type="application/ld+json">
    {
       "@context":"https://schema.org",
       "@type":"Service",
       "name":"ABC",
       "aggregateRating":{
          "@type":"AggregateRating",
          "ratingValue":5,
          "reviewCount":2
       },
       "review":[
          {
             "@type":"Review",
            "name": "ABC",
             "author": {
               "@type": "Person",
               "name": "David A"
             },
             "reviewBody":"Awesome",
             "reviewRating":{
                "@type":"Rating",
                "ratingValue":5
             }
          },
          {
             "@type":"Review",
            "name": "ABC",
             "author": {
               "@type": "Person",
               "name": "David B"
             },
             "reviewBody":"Great",
             "reviewRating":{
                "@type":"Rating",
                "ratingValue":5
             }
          }
       ]
    }
   </script>
   </head>
   <body>
   </body>
</html>

当我 运行 测试时,它返回了 3 个错误,其中 2 个说 Item does not support reviews,其中 1 个说​​ Invalid object type for field 'itemReviewed'.

对于第一个错误,我不确定为什么会收到错误,因为我提供了 review (https://developers.google.com/search/docs/advanced/structured-data/review-snippet#review-properties) 的所有必填字段。

至于第二个错误,我想我还是根据 https://developers.google.com/search/docs/advanced/structured-data/review-snippet#aggregated-rating-type-definition 提供了所有需要的字段,但仍然返回该错误。

我没有为这两个对象提供 itemReviewed,因为文档表明它是否嵌套,所以可以省略。

所以我找到的最佳答案是:https://support.google.com/webmasters/thread/38450143/doubts-about-service-schema?hl=en

好像虽然Schema.org supports Service, it's not part of the schema type that is supported by Google by the looks of it (https://developers.google.com/search/blog/2019/09/making-review-rich-results-more-helpful).

作为参考,this is an example 来自他们的文档,如果您将 @typeProduct 更改为 Service,您会看到类似的错误弹出。

我想这里的解决方案是从 Service 更新到 Product,但考虑到 GSC(Google Search Console)没有发出警告,这有点奇怪直到现在...