【问题标题】:Google Rich Results Test - Item does not support reviewsGoogle Rich Results Test - 商品不支持评论
【发布时间】:2021-12-07 16:41:09
【问题描述】:

我在 Google 的 Rich Results Test 上尝试了很多东西,结果遇到了这个问题。

<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,因为文档表明它是否是嵌套的,可以省略。

【问题讨论】:

    标签: seo metadata meta json-ld google-search-console


    【解决方案1】:

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

    看起来尽管Schema.org 支持Service,但从外观上看,它并不是 Google 支持的架构类型的一部分 (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)直到现在才发出警告,这有点奇怪......

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-09-11
      • 2022-01-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多