Product
您可向商品页面添加标记,以便 Google 能够在 Google 搜索(包括 Google 图片)中以富媒体搜索结果的形式提供详细的商品信息。用户可以直接在搜索结果中查看价格、库存状况和评价评分。
使用标记能让商品展示为富媒体搜索结果,这样当用户在 Google 搜索中寻找要购买的商品或搜索包含您出售的商品的图片时,您就有机会吸引潜在买家。您应该保持商品信息的准确性和时效性,方便客户找到和他们需求相关的最新商品。
本页面介绍了如何标记商品信息,使 Google 搜索能够显示富媒体搜索结果。Product
标记还可让您的商品在 Google 图片中显示时带有徽章,从而鼓励更多用户点击您的内容。

您通常会对两种类型的页面使用此标记:
- 单个商品页面 - 描述了单个商品
- 购物信息汇总网站页面 - 列出了单个商品,并提供销售该商品的不同卖家的信息
根据您对内容的标记方式,您的商品可能还符合以下增强功能的使用条件:
商品增强功能 | |
---|---|
配送详情:帮助用户了解运费和预计送货期限,这些信息是系统根据用户的位置和贵公司的配送政策提供的。配送详情可以显示在特定商品结果的“概览”和“商店”标签页中。此增强功能仅在美国以英语提供,并且只能在移动设备上使用。
若想获得使用此增强功能的资格,请添加 |
![]() ![]() |
降价:方便用户了解商品的最低价格。 Google 会根据商品的历史平均价格自动计算降价价格。降价呈现效果仅在美国以英语提供,同时支持桌面设备和移动设备。
若要符合降价呈现效果的显示条件,请在 |
![]() ![]() |
如何添加结构化数据
结构化数据是一种提供网页相关信息并对网页内容进行分类的标准化格式。如果您不熟悉结构化数据,可以详细了解结构化数据的运作方式。
下面概述了如何构建、测试和发布结构化数据。如需获得向网页添加结构化数据的分步指南,请查看结构化数据 Codelab。
- 添加必要属性。根据您使用的格式,了解在网页上的什么位置插入结构化数据。
- 遵循指南。
- 使用富媒体搜索结果测试验证您的代码。
- 部署一些包含结构化数据的网页,然后使用网址检查工具测试 Google 看到的网页样貌。请确保您的网页可供 Google 访问,不会因 robots.txt 文件、
noindex
标记或登录要求而被屏蔽。如果网页看起来没有问题,您可以请求 Google 重新抓取您的网址。 - 为了让 Google 随时了解日后发生的更改,我们建议您提交站点地图。Search Console Sitemap API 可以帮助您自动执行此操作。
试一试
单个商品页面
下面是一个单个商品页面示例。
JSON-LD
<html> <head> <title>Executive Anvil</title> <script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "Product", "name": "Executive Anvil", "image": [ "https://example.com/photos/1x1/photo.jpg", "https://example.com/photos/4x3/photo.jpg", "https://example.com/photos/16x9/photo.jpg" ], "description": "Sleeker than ACME's Classic Anvil, the Executive Anvil is perfect for the business traveler looking for something to drop from a height.", "sku": "0446310786", "mpn": "925872", "brand": { "@type": "Brand", "name": "ACME" }, "review": { "@type": "Review", "reviewRating": { "@type": "Rating", "ratingValue": "4", "bestRating": "5" }, "author": { "@type": "Person", "name": "Fred Benson" } }, "aggregateRating": { "@type": "AggregateRating", "ratingValue": "4.4", "reviewCount": "89" }, "offers": { "@type": "Offer", "url": "https://example.com/anvil", "priceCurrency": "USD", "price": "119.99", "priceValidUntil": "2020-11-20", "itemCondition": "https://schema.org/UsedCondition", "availability": "https://schema.org/InStock" } } </script> </head> <body> </body> </html>
RDFa
<html> <head> <title>Executive Anvil</title> </head> <body> <div typeof="schema:Product"> <div rel="schema:review"> <div typeof="schema:Review"> <div rel="schema:reviewRating"> <div typeof="schema:Rating"> <div property="schema:ratingValue" content="4"></div> <div property="schema:bestRating" content="5"></div> </div> </div> <div rel="schema:author"> <div typeof="schema:Person"> <div property="schema:name" content="Fred Benson"></div> </div> </div> </div> </div> <div rel="schema:image" resource="https://example.com/photos/4x3/photo.jpg"></div> <div property="schema:mpn" content="925872"></div> <div property="schema:name" content="Executive Anvil"></div> <div property="schema:description" content="Sleeker than ACME's Classic Anvil, the Executive Anvil is perfect for the business traveler looking for something to drop from a height."></div> <div rel="schema:image" resource="https://example.com/photos/1x1/photo.jpg"></div> <div rel="schema:brand"> <div typeof="schema:Brand"> <div property="schema:name" content="ACME"></div> </div> </div> <div rel="schema:aggregateRating"> <div typeof="schema:AggregateRating"> <div property="schema:reviewCount" content="89"></div> <div property="schema:ratingValue" content="4.4"></div> </div> </div> <div rel="schema:offers"> <div typeof="schema:Offer"> <div property="schema:price" content="119.99"></div> <div property="schema:availability" content="https://schema.org/InStock"></div> <div property="schema:priceCurrency" content="USD"></div> <div property="schema:priceValidUntil" datatype="xsd:date" content="2020-11-20"></div> <div rel="schema:url" resource="https://example.com/anvil"></div> <div property="schema:itemCondition" content="https://schema.org/UsedCondition"></div> </div> </div> <div rel="schema:image" resource="https://example.com/photos/16x9/photo.jpg"></div> <div property="schema:sku" content="0446310786"></div> </div> </body> </html>
微数据
<html> <head> <title>Executive Anvil</title> </head> <body> <div> <div itemtype="https://schema.org/Product" itemscope> <meta itemprop="mpn" content="925872" /> <meta itemprop="name" content="Executive Anvil" /> <link itemprop="image" href="https://example.com/photos/16x9/photo.jpg" /> <link itemprop="image" href="https://example.com/photos/4x3/photo.jpg" /> <link itemprop="image" href="https://example.com/photos/1x1/photo.jpg" /> <meta itemprop="description" content="Sleeker than ACME's Classic Anvil, the Executive Anvil is perfect for the business traveler looking for something to drop from a height." /> <div itemprop="offers" itemtype="https://schema.org/Offer" itemscope> <link itemprop="url" href="https://example.com/anvil" /> <meta itemprop="availability" content="https://schema.org/InStock" /> <meta itemprop="priceCurrency" content="USD" /> <meta itemprop="itemCondition" content="https://schema.org/UsedCondition" /> <meta itemprop="price" content="119.99" /> <meta itemprop="priceValidUntil" content="2020-11-20" /> </div> <div itemprop="aggregateRating" itemtype="https://schema.org/AggregateRating" itemscope> <meta itemprop="reviewCount" content="89" /> <meta itemprop="ratingValue" content="4.4" /> </div> <div itemprop="review" itemtype="https://schema.org/Review" itemscope> <div itemprop="author" itemtype="https://schema.org/Person" itemscope> <meta itemprop="name" content="Fred Benson" /> </div> <div itemprop="reviewRating" itemtype="https://schema.org/Rating" itemscope> <meta itemprop="ratingValue" content="4" /> <meta itemprop="bestRating" content="5" /> </div> </div> <meta itemprop="sku" content="0446310786" /> <div itemprop="brand" itemtype="https://schema.org/Brand" itemscope> <meta itemprop="name" content="ACME" /> </div> </div> </div> </body> </html>
包含配送详情的单个商品
下面是一个包含配送详情的单个商品页面示例。在此示例中,居住地的邮政编码介于 98100 和 98199 之间的所有用户运费将为 $3.49。如需更多示例,请查看配送详情最佳实践。
JSON-LD
<html> <head> <title>Nice trinket</title> <script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "Product", "sku": "trinket-12345", "gtin14": "12345678901234", "image": [ "https://example.com/photos/16x9/trinket.jpg", "https://example.com/photos/4x3/trinket.jpg", "https://example.com/photos/1x1/trinket.jpg" ], "name": "Nice trinket", "description": "Trinket with clean lines", "brand": { "@type": "Brand", "name": "MyBrand" }, "offers": { "@type": "Offer", "url": "http://www.example.com/trinket_offer", "itemCondition": "https://schema.org/NewCondition", "availability": "https://schema.org/InStock", "price": "39.99", "priceCurrency": "USD", "priceValidUntil": "2020-11-20", "shippingDetails": { "@type": "OfferShippingDetails", "shippingRate": { "@type": "MonetaryAmount", "value": "3.49", "currency": "USD" }, "shippingDestination": { "@type": "DefinedRegion", "addressCountry": "US", "postalCodeRange": { "postalCodeBegin": "98100", "postalCodeEnd": "98199" } }, "deliveryTime": { "@type": "ShippingDeliveryTime", "handlingTime": { "@type": "QuantitativeValue", "minValue": "0", "maxValue": "1" }, "transitTime": { "@type": "QuantitativeValue", "minValue": "1", "maxValue": "5" }, "cutOffTime": "19:30-08:00", "businessDays": { "@type": "OpeningHoursSpecification", "dayOfWeek": [ "https://schema.org/Monday", "https://schema.org/Tuesday", "https://schema.org/Wednesday", "https://schema.org/Thursday" ] } } } }, "review": { "@type": "Review", "reviewRating": { "@type": "Rating", "ratingValue": "4", "bestRating": "5" }, "author": { "@type": "Person", "name": "Fred Benson" } }, "aggregateRating": { "@type": "AggregateRating", "ratingValue": "4.4", "reviewCount": "89" } } </script> </head> <body> </body> </html>
RDFa
<html> <head> <title>Nice trinket</title> </head> <body> <div typeof="schema:Product"> <div property="schema:sku" content="trinket-12345"></div> <div property="schema:gtin14" content="12345678901234"></div> <div property="schema:name" content="Nice trinket"></div> <div rel="schema:image" resource="https://example.com/photos/16x9/trinket.jpg"></div> <div rel="schema:image" resource="https://example.com/photos/4x3/trinket.jpg"></div> <div rel="schema:image" resource="https://example.com/photos/1x1/trinket.jpg"></div> <div property="schema:description" content="Trinket with clean lines"></div> <div rel="schema:brand"> <div typeof="schema:Brand"> <div property="schema:name" content="MyBrand"></div> </div> </div> <div rel="schema:offers"> <div typeof="schema:Offer"> <div rel="schema:url" resource="https://example.com/trinket_offer"></div> <div property="schema:itemCondition" content="https://schema.org/NewCondition"></div> <div property="schema:availability" content="https://schema.org/InStock"></div> <div property="schema:price" content="39.99"></div> <div property="schema:priceCurrency" content="USD"></div> <div property="schema:priceValidUntil" datatype="xsd:date" content="2020-11-20"></div> <div rel="schema:shippingDetails"> <div typeof="schema:OfferShippingDetails"> <div rel="schema:shippingRate"> <div typeof="schema:MonetaryAmount"> <div property="schema:value" content="3.49"></div> <div property="schema:currency" content="USD"></div> </div> </div> <div rel="schema:shippingDestination"> <div typeof="schema:DefinedRegion"> <div property="schema:addressCountry" content="US"></div> <div rel="schema:postalCodeRange"> <div typeof="schema:PostalCodeRangeSpecification"> <div property="schema:postalCodeBegin" content="98100"></div> <div property="schema:postalCodeEnd" content="98199"></div> </div> </div> </div> </div> <div rel="schema:deliveryTime"> <div typeof="schema:ShippingDeliveryTime"> <div rel="schema:handlingTime"> <div typeof="schema:QuantitativeValue"> <div property="schema:minValue" content="0"></div> <div property="schema:maxValue" content="1"></div> </div> </div> <div rel="schema:transitTime"> <div typeof="schema:QuantitativeValue"> <div property="schema:minValue" content="1"></div> <div property="schema:maxValue" content="5"></div> </div> </div> <div property="schema:cutOffTime" content="19:30-08:00"></div> <div rel="schema:businessDays"> <div typeof="schema:OpeningHoursSpecification"> <div property="schema:dayOfWeek" content="https://schema.org/Monday"></div> <div property="schema:dayOfWeek" content="https://schema.org/Tuesday"></div> <div property="schema:dayOfWeek" content="https://schema.org/Wednesday"></div> <div property="schema:dayOfWeek" content="https://schema.org/Thursday"></div> </div> </div> </div> </div> </div> </div> </div> </div> <div rel="schema:review"> <div typeof="schema:Review"> <div rel="schema:reviewRating"> <div typeof="schema:Rating"> <div property="schema:ratingValue" content="4"></div> <div property="schema:bestRating" content="5"></div> </div> </div> <div rel="schema:author"> <div typeof="schema:Person"> <div property="schema:name" content="Fred Benson"></div> </div> </div> </div> </div> <div rel="schema:aggregateRating"> <div typeof="schema:AggregateRating"> <div property="schema:reviewCount" content="89"></div> <div property="schema:ratingValue" content="4.4"></div> </div> </div> </div> </body> </html>
微数据
<html> <head> <title>Nice trinket</title> </head> <body> <div> <div itemtype="https://schema.org/Product" itemscope> <meta itemprop="sku" content="trinket-12345" /> <meta itemprop="gtin14" content="12345678901234" /> <meta itemprop="name" content="Nice trinket" /> <link itemprop="image" href="https://example.com/photos/16x9/trinket.jpg" /> <link itemprop="image" href="https://example.com/photos/4x3/trinket.jpg" /> <link itemprop="image" href="https://example.com/photos/1x1/trinket.jpg" /> <meta itemprop="description" content="Trinket with clean lines" /> <div itemprop="brand" itemtype="https://schema.org/Brand" itemscope> <meta itemprop="name" content="MyBrand" /> </div> <div itemprop="offers" itemtype="https://schema.org/Offer" itemscope> <link itemprop="url" href="http://www.example.com/trinket_offer" /> <meta itemprop="itemCondition" content="https://schema.org/NewCondition" /> <meta itemprop="availability" content="https://schema.org/InStock" /> <meta itemprop="price" content="39.99" /> <meta itemprop="priceCurrency" content="USD" /> <meta itemprop="priceValidUntil" content="2020-11-20" /> <div itemprop="shippingDetails" itemtype="https://schema.org/OfferShippingDetails" itemscope> <div itemprop="shippingRate" itemtype="https://schema.org/MonetaryAmount" itemscope> <meta itemprop="value" content="3.49" /> <meta itemprop="currency" content="USD" /> </div> <div itemprop="shippingDestination" itemtype="https://schema.org/DefinedRegion" itemscope> <meta itemprop="addressCountry" content="US" /> <div itemprop="postalCodeRange" itemtype="https://schema.org/PostalCodeRangeSpecification" itemscope> <meta itemprop="postalCodeBegin" content="98100" /> <meta itemprop="postalCodeEnd" content="98199" /> </div> </div> <div itemprop="deliveryTime" itemtype="https://schema.org/ShippingDeliveryTime" itemscope> <div itemprop="handlingTime" itemtype="https://schema.org/QuantitativeValue" itemscope> <meta itemprop="minValue" content="0" /> <meta itemprop="maxValue" content="1" /> </div> <div itemprop="transitTime" itemtype="https://schema.org/QuantitativeValue" itemscope> <meta itemprop="minValue" content="1" /> <meta itemprop="maxValue" content="5" /> </div> <meta itemprop="cutOffTime" content="19:30-08:00" /> <div itemprop="businessDays" itemtype="https://schema.org/OpeningHoursSpecification" itemscope> <meta itemprop="dayOfWeek" content="https://schema.org/Monday" /> <meta itemprop="dayOfWeek" content="https://schema.org/Tuesday" /> <meta itemprop="dayOfWeek" content="https://schema.org/Wednesday" /> <meta itemprop="dayOfWeek" content="https://schema.org/Thursday" /> </div> </div> </div> </div> <div itemprop="review" itemtype="https://schema.org/Review" itemscope> <div itemprop="author" itemtype="https://schema.org/Person" itemscope> <meta itemprop="name" content="Fred Benson" /> </div> <div itemprop="reviewRating" itemtype="https://schema.org/Rating" itemscope> <meta itemprop="ratingValue" content="4" /> <meta itemprop="bestRating" content="5" /> </div> </div> <div itemprop="aggregateRating" itemtype="https://schema.org/AggregateRating" itemscope> <meta itemprop="reviewCount" content="89" /> <meta itemprop="ratingValue" content="4.4" /> </div> </div> </div> </body> </html>
购物信息汇总网站页面
下面是一个购物信息汇总网站页面示例。
JSON-LD
<html> <head> <title>Executive Anvil</title> <script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "Product", "name": "Executive Anvil", "image": [ "https://example.com/photos/1x1/photo.jpg", "https://example.com/photos/4x3/photo.jpg", "https://example.com/photos/16x9/photo.jpg" ], "description": "Sleeker than ACME's Classic Anvil, the Executive Anvil is perfect for the business traveler looking for something to drop from a height.", "sku": "0446310786", "mpn": "925872", "brand": { "@type": "Brand", "name": "ACME" }, "review": { "@type": "Review", "reviewRating": { "@type": "Rating", "ratingValue": "4", "bestRating": "5" }, "author": { "@type": "Person", "name": "Fred Benson" } }, "aggregateRating": { "@type": "AggregateRating", "ratingValue": "4.4", "reviewCount": "89" }, "offers": { "@type": "AggregateOffer", "offerCount": "5", "lowPrice": "119.99", "highPrice": "199.99", "priceCurrency": "USD" } } </script> </head> <body> </body> </html>
RDFa
<html> <head> <title>Executive Anvil</title> </head> <body> <div typeof="schema:Product"> <div rel="schema:review"> <div typeof="schema:Review"> <div rel="schema:reviewRating"> <div typeof="schema:Rating"> <div property="schema:ratingValue" content="4"></div> <div property="schema:bestRating" content="5"></div> </div> </div> <div rel="schema:author"> <div typeof="schema:Person"> <div property="schema:name" content="Fred Benson"></div> </div> </div> </div> </div> <div rel="schema:aggregateRating"> <div typeof="schema:AggregateRating"> <div property="schema:reviewCount" content="89"></div> <div property="schema:ratingValue" content="4.4"></div> </div> </div> <div rel="schema:image" resource="https://example.com/photos/4x3/photo.jpg"></div> <div property="schema:mpn" content="925872"></div> <div property="schema:name" content="Executive Anvil"></div> <div property="schema:description" content="Sleeker than ACME's Classic Anvil, the Executive Anvil is perfect for the business traveler looking for something to drop from a height."></div> <div rel="schema:image" resource="https://example.com/photos/1x1/photo.jpg"> </div> <div rel="schema:brand"> <div typeof="schema:Brand"> <div property="schema:name" content="ACME"></div> </div> </div> <div rel="schema:offers"> <div typeof="schema:AggregateOffer"> <div property="schema:offerCount" content="5"></div> <div property="schema:lowPrice" content="119.99"></div> <div property="schema:highPrice" content="199.99"></div> <div property="schema:priceCurrency" content="USD"></div> <div rel="schema:url" resource="https://example.com/anvil"></div> </div> </div> <div rel="schema:image" resource="https://example.com/photos/16x9/photo.jpg"></div> <div property="schema:sku" content="0446310786"></div> </div> </body> </html>
微数据
<html> <head> <title>Executive Anvil</title> </head> <body> <div> <div itemtype="https://schema.org/Product" itemscope> <meta itemprop="mpn" content="925872" /> <meta itemprop="name" content="Executive Anvil" /> <link itemprop="image" href="https://example.com/photos/16x9/photo.jpg" /> <link itemprop="image" href="https://example.com/photos/4x3/photo.jpg" /> <link itemprop="image" href="https://example.com/photos/1x1/photo.jpg" /> <meta itemprop="description" content="Sleeker than ACME's Classic Anvil, the Executive Anvil is perfect for the business traveler looking for something to drop from a height." /> <div itemprop="offers" itemtype="https://schema.org/AggregateOffer" itemscope> <meta itemprop="lowPrice" content="119.99" /> <meta itemprop="highPrice" content="199.99" /> <meta itemprop="offerCount" content="6" /> <meta itemprop="priceCurrency" content="USD" /> </div> <div itemprop="aggregateRating" itemtype="https://schema.org/AggregateRating" itemscope> <meta itemprop="reviewCount" content="89" /> <meta itemprop="ratingValue" content="4.4" /> </div> <div itemprop="review" itemtype="https://schema.org/Review" itemscope> <div itemprop="author" itemtype="https://schema.org/Person" itemscope> <meta itemprop="name" content="Fred Benson" /> </div> <div itemprop="reviewRating" itemtype="https://schema.org/Rating" itemscope> <meta itemprop="ratingValue" content="4" /> <meta itemprop="bestRating" content="5" /> </div> </div> <meta itemprop="sku" content="0446310786" /> <div itemprop="brand" itemtype="https://schema.org/Brand" itemscope> <meta itemprop="name" content="ACME" /> </div> </div> </div> </body> </html>
指南
商品富媒体搜索结果可为用户提供具体商品的信息,如价格、库存状况和评价者评分。以下指南适用于 Product
标记:
- 请对具体商品(而非商品类别或商品列表)使用标记。 例如,“我们店里的鞋子”就不是具体商品。目前,商品富媒体搜索结果仅支持关于单件商品的网页。我们建议您重点向商品页面(而不是商品列表页面或商品类别页面)添加标记。
- 不支持与成人相关的商品。
- 如果您要为商品添加评价,则评价者的名称必须是指代
Person
或Team
的有效名称。不建议使用的名称:黑色星期五半价优惠
建议使用的名称:“James Smith”或“CNET 评价员”
如需在 Google 图片中添加商品信息,您必须添加额外属性:
- 在富媒体图片查看器中显示您的商品信息:添加
name
、image
、price
和priceCurrency
属性。 - 在“相关商品”功能中显示您的商品信息:添加
name
、image
、price
、priceCurrency
和availability
属性。
配送详情最佳实践
指明免运费
如果您为特定商品提供免运费服务,请在商品页面上针对这些商品的所有配送区域将 shippingRate
设为零。例如,如果您面向纽约州提供免运费服务,则可以对配送到纽约州的商品实现以下代码:
"shippingDetails": { "@type": "OfferShippingDetails", "shippingRate": { "@type": "MonetaryAmount", "value": "0", "currency": "USD" }, "shippingDestination": [{ "@type": "DefinedRegion", "addressCountry": "US", "addressRegion": ["NY"] }] }
指明不配送的区域
如需设置商品不配送的区域,请添加 doesNotShip
属性。此属性会取代其他配送设置。例如,如果您的商品可以发往美国,但不发往阿拉斯加州或夏威夷州,则可以为不往这些州发货的商品实现以下代码:
"shippingDetails": { "@type": "OfferShippingDetails", "doesNotShip": true, "shippingDestination": { "@type": "DefinedRegion", "addressCountry": "US", "addressRegion": ["AK", "HI"] } }
为同一送货区域指明多种配送服务
有时,商家可能会向用户提供多种将商品配送到目的地的选项(例如,“隔夜特快”、“加急 2 日”和“标准”)。您可以使用多个 shippingDetails
属性指明每个选项,每个属性都具有不同的 shippingRate
和 deliveryTime
属性组合。
如果同一个送货目的地有多个 shippingRate
属性,Google 会根据费用最低的配送方式显示数据。
结构化数据类型定义
若要使您的内容能够显示为富媒体搜索结果,您必须为其添加必要属性。还有一些建议添加的属性,能帮助您添加更多与您的内容相关的信息,进而提供更好的用户体验。
Product
如需了解 Product
的完整定义,请访问 schema.org/Product。针对商品信息标记内容时,请使用 schema.org Product
类型的以下属性:
必要属性 | |
---|---|
name |
商品名称。 |
review 、aggregateRating 或 offers |
您必须添加以下属性之一: |
建议属性 | |
---|---|
aggregateRating |
商品的嵌套 |
brand |
商品的品牌。 |
description |
商品说明。 |
image |
重复的 商品照片的网址。首选能够清晰展示商品的图片(例如背景为白色的图片)。 其他的图片指南:
例如: "image": [ "https://example.com/photos/1x1/photo.jpg", "https://example.com/photos/4x3/photo.jpg", "https://example.com/photos/16x9/photo.jpg" ] |
offers
|
用于销售商品的嵌套 |
review
|
|
gtin | gtin8 | gtin13 | gtin14 | mpn | isbn |
请添加所有适用的全局标识符;如需了解这些标识符,请访问 schema.org/Product。 |
sku |
商品的商家专属标识符。 |
Offer
如需了解 Offer
的完整定义,请访问 schema.org/Offer。在商品中标记优惠时,请使用 schema.org Offer
类型的以下属性:
必要属性 | |
---|---|
price |
商品的优惠价格。请遵循 schema.org 使用指南。
下面是一个 "offers": { "@type": "Offer", "price": "39.99" } 下面的示例说明了如何指定商品是免费商品: "offers": { "@type": "Offer", "price": "0" } |
建议属性 | |
---|---|
availability |
可能的商品库存状况选项。请使用以下某个值,并在标记中用网址链接来表示。即使没有完整的网址范围,Google 也能理解它们的简称,例如
|
itemOffered |
正在销售的商品。通常,这包括嵌套的商品,但也可以包含其他商品种类或文本。 |
priceCurrency |
用于描述商品价格的货币,采用由三个字母表示的 ISO 4217 格式。 |
priceValidUntil |
价格的失效日期(采用 ISO 8601 日期格式)。如果 |
shippingDetails |
与 |
url |
|
OfferShippingDetails
OfferShippingDetails
可帮助用户了解运费和预计送货期限,这些信息是系统根据用户的位置和贵公司的配送政策提供的。为了使您的商品符合配送详情增强功能的使用条件,除了 Product
结构化数据之外,还应向您的商品页面添加以下 OfferShippingDetails
属性。虽然 OfferShippingDetails
不是必要的,但如果您希望您的配送详情符合配送详情增强功能的使用条件,则必须添加以下属性。
如需了解 OfferShippingDetails
的完整定义,请访问 schema.org/OfferShippingDetails。
必要属性 | |
---|---|
shippingDestination |
表示配送目的地。指定 |
shippingDestination.addressCountry |
2 个字符的国家/地区代码,采用 ISO 3166-1 格式。 |
建议属性 | |||||||
---|---|---|---|---|---|---|---|
deliveryTime |
从收到订单到商品送达最终客户处的总延迟。嵌套以下属性: |
||||||
deliveryTime.businessDays |
处理订单的日子。请使用 |
||||||
deliveryTime.businessDays.dayOfWeek |
处理订单时的星期名称。对于在非工作日收到的订单,处理流程将于下一个工作日开始。两者之间的非工作日会添加到订单处理时间中。 使用以下枚举: |
||||||
deliveryTime.cutOffTime |
在同一天中不再处理新订单的截止时间,采用 ISO 8601 格式。订单处理时间会增加一天。 |
||||||
deliveryTime.handlingTime |
从收到订单到商品出库或准备好自提(如果配送方式是自提点取货)通常所需的延迟。指定 |
||||||
deliveryTime.handlingTime.minValue |
商品运输过程(从收到订单到商品出库;如果配送方式是自提点取货,则为从收到订单到准备好自提)的最短天数。 该值必须是非负整数。 |
||||||
deliveryTime.handlingTime.maxValue |
商品运输过程(从收到订单到商品出库;如果配送方式是自提点取货,则为从收到订单到准备好自提)的最长天数。 该值必须是非负整数。 |
||||||
deliveryTime.transitTime |
从订单发货到商品送达最终客户通常所需的延迟。 |
||||||
deliveryTime.transitTime.maxValue |
商品运输过程(从发货到最终客户收到商品)的最长天数。 该值必须是非负整数。 |
||||||
deliveryTime.transitTime.minValue |
商品运输过程(从发货到最终客户收到商品)的最短天数。 该值必须是非负整数。 |
||||||
doesNotShip |
表示无法配送到特定 |
||||||
shippingDestination.addressRegion 或邮政编码 |
区域或邮政编码信息(若适用)。请勿同时提供区域和邮政编码信息。
如果您添加 如果您添加邮政编码,它必须是以下属性之一:
|
||||||
shippingRate |
配送到指定目的地的运费信息。指定 您只能为每个 |
||||||
shippingRate.currency |
运费的币种,以 3 个字母的 ISO 4217 格式表示。该币种必须与 |
||||||
shippingRate.value |
配送到 如需指定免运费,请将该值设置为 0。 |
以下属性正处于 Beta 版阶段(不是必要的),目前不会在商品富媒体搜索结果中显示为配送详情。但是,提供这些信息有助于 Google 了解某个商品与您网站上的其他相关配送网页之间的关系。Google 可能会使用这些信息制作其他富媒体搜索结果。
Beta 版:建议属性 | |
---|---|
shippingSettingsLink |
指向您网站上某个网页的网址,其中概述了贵公司的配送政策。该网页必须包含适用于此商品的一项或多项政策。 |
通过 Google 配置配送设置的其他方法
零售商的配送政策可能很复杂,并且可能会经常变化。如果您在使用标记指明配送详情和及时更新配送详情时遇到问题,建议您在 Google Merchant Center 中配置配送设置。
AggregateOffer
如需了解 AggregateOffer
的完整定义,请访问 schema.org/AggregateOffer。AggregateOffer
是一种 Offer
,代表其他优惠的汇总。在商品中标记优惠汇总时,请使用 schema.org AggregateOffer
类型的以下属性:
必要属性 | |
---|---|
lowPrice |
所有有效优惠中的最低价格。请使用浮点数表示。 |
priceCurrency |
用于描述商品价格的货币,采用由三个字母表示的 ISO 4217 格式。 |
建议属性 | |
---|---|
highPrice |
所有有效优惠中的最高价格。请使用浮点数表示。 |
offerCount |
商品的优惠数量。 |
使用 Search Console 监控富媒体搜索结果
Search Console 是一款工具,可帮助您监控网页在 Google 搜索结果中的显示效果。即使没有注册 Search Console,您的网页也可能会显示在 Google 搜索结果中,但注册 Search Console 能够帮助您了解 Google 如何查看您的网站并做出相应的改进。建议您在以下情况下查看 Search Console:
首次部署结构化数据后
等 Google 将网页编入索引后,请在相关的富媒体搜索结果状态报告中查看是否存在问题。 理想情况下,有效网页数会增加,但错误数或警告数不会增加。如果您发现结构化数据存在问题,请执行以下操作:
发布新模板或更新代码后
对网站进行重大更改后,请监控结构化数据的错误数和警告数是否增加了。- 如果您发现错误增多了,可能是因为您推出的某个新模板无法正常工作,或者您的网站以一种新的错误方式与现有模板交互。
- 如果您发现有效内容项减少了(但错误数的增加情况并不对应),可能是因为您的网页中未再嵌入结构化数据。请通过网址检查工具了解导致此问题的原因。
定期分析流量时
请使用效果报告分析您的 Google 搜索流量。数据将显示您的网页在 Google 搜索结果中显示为富媒体搜索结果的频率、用户点击该网页的频率以及网页在搜索结果中的平均排名。您还可以使用 Search Console API 自动提取这些结果。问题排查
如果您在实施或调试结构化数据时遇到问题,请查看下面列出的一些实用资源。
- 您的结构化数据可能存在错误。请参阅结构化数据错误列表。
- 如果您的网页受到结构化数据手动操作的影响,其中的结构化数据将会被忽略(但该网页仍可能会出现在 Google 搜索结果中)。如需修正结构化数据问题,请使用“手动操作”报告。
- 再次查看相关指南,确认您的内容是否未遵循指南。
- 针对富媒体搜索结果缺失/富媒体搜索结果总数下降进行问题排查。
- 有关抓取和索引编制的常见问题,请参阅 Google 搜索抓取和索引编制常见问题解答。
- 在 Google 搜索中心咨询交流时间活动中提问。
- 在 Google 搜索中心论坛中发帖提问。