该Schema的名称是什么?如何制作适配谷歌富结果的Schema?
我正在适配谷歌富文本搜索结果(Rich Text Results),但不知道如何实现下图对应的展示区块。
谷歌富文本结果测试工具仅识别出评分和价格模块,我当前使用的Schema代码如下:
<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Product", "name" : "Samsung Galaxy Note 10", "productID":"2121", "url" : "https://priceoye.pk/mobiles/samsung/samsung-galaxy-note-10", "image": "https://images.priceoye.pk/samsung-galaxy-note-10-pakistan-priceoye-cg7be.jpg", "category" : "Mobiles", "gtin" : "", "gtin13" : "", "brand" : "Samsung","offers": { "@type": "Offer", "price" : "169999", "priceCurrency": "PKR", "itemCondition":"https://schema.org/NewCondition", "availability": "http://schema.org/InStock", "url": "https://priceoye.pk/mobiles/samsung/samsung-galaxy-note-10" },"aggregateRating": { "@type": "AggregateRating", "bestRating": "5", "ratingValue": "5", "ratingCount": "1" },"review": [],"description" : "The Samsung Galaxy Note 10 has a 6.3 inches screen and 256GB 8GB RAM RAM. It comes with 3500 Mah battery and yes back camera.", "sku": "samsung-galaxy-note-10" } </script>
修复方案
你现在的代码有三个核心问题导致无法触发全量富文本区块展示:
- 规格参数只写在了description纯文本里,谷歌无法提取结构化的规格信息生成对应展示模块
- gtin、gtin13字段为空,这是谷歌识别商品类富文本的核心必填参考字段
- review字段为空,缺少有效评价数据无法触发评价相关的富文本模块
你需要给Product类型新增additionalProperty字段补全结构化参数,同时补全gtin、review信息,修改后的代码参考如下:
<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Product", "name" : "三星Galaxy Note 10", "productID":"2121", "url" : "https://priceoye.pk/mobiles/samsung/samsung-galaxy-note-10", "image": "https://images.priceoye.pk/samsung-galaxy-note-10-pakistan-priceoye-cg7be.jpg", "category" : "手机", "gtin" : "8806090289579", "gtin13" : "8806090289579", "brand" : { "@type": "Brand", "name": "三星" }, "offers": { "@type": "Offer", "price" : "169999", "priceCurrency": "PKR", "itemCondition":"https://schema.org/NewCondition", "availability": "http://schema.org/InStock", "url": "https://priceoye.pk/mobiles/samsung/samsung-galaxy-note-10" }, "aggregateRating": { "@type": "AggregateRating", "bestRating": "5", "ratingValue": "5", "ratingCount": "1" }, "review": [ { "@type": "Review", "reviewBody": "机身手感出色,屏幕素质高,日常使用续航完全够用", "reviewRating": { "@type": "Rating", "ratingValue": "5", "bestRating": "5" }, "author": { "@type": "Person", "name": "购机用户" }, "datePublished": "2024-02-10" } ], "description" : "三星Galaxy Note 10配备6.3英寸屏幕,内置256GB存储+8GB运行内存,搭载3500mAh电池,后置摄像头模组满足日常拍摄需求。", "sku": "samsung-galaxy-note-10", "additionalProperty": [ { "@type": "PropertyValue", "name": "屏幕尺寸", "value": "6.3英寸" }, { "@type": "PropertyValue", "name": "运行内存", "value": "8GB" }, { "@type": "PropertyValue", "name": "存储容量", "value": "256GB" }, { "@type": "PropertyValue", "name": "电池容量", "value": "3500mAh" } ] } </script>
注意事项
- 所有结构化字段的内容要和你页面上公开显示的内容完全一致,不要出现字段内容和页面展示不符的情况,否则会被判定为作弊,影响搜索展示。
- GTIN码要填对应商品真实的全球贸易项目代码,不要随意编造。
- 评价内容要真实对应已公开的用户评价,不要填充虚假评价。
- 修改完成后用谷歌富文本测试工具重新检测,确认所有字段无报错即可。
内容的提问来源于stack exchange,提问作者DevAB
相关产品推荐
相关产品推荐

