Google测试工具将Json-LD结构化数据显示为错误

使用以下JSON-LD结构化数据,Google测试工具会引发错误:

{
  "@context": "http://schema.org","@type": "Person","name" : "Brent","makesOffer" : {
        "@type" :"Offer","priceSpecification" : {
            "@type" : "UnitPriceSpecification","priceCurrency" : "USD","price" : "18000" },"itemOffered" : {
            "@type" : "Car","name" : "2009 Volkswagen Golf V GTI MY09 Direct-Shift Gearbox","description" : "2009 Volkswagen Golf V GTI MY09 Direct-Shift Gearbox in perfect mechanical condition and low kilometres. It's impressive 2.0 litre turbo engine makes every drive a fun experience. Well looked after by one owner with full service history. It drives like new and has only done 50,000kms. (...)","image" : "2009_Volkswagen_Golf_V_GTI_MY09.png","color" : "Black","numberOfForwardGears" : "6","vehicleEngine" : {
            "@type": "Enginespecification","name" : "4 cylinder Petrol Turbo Intercooled 2.0 L (1984 cc)"
            },"numberOfAirbags" : "6"
        }
    }
}

抛出的错误是:您必须指出要约,评论或AggregateRating。

但是这些数据是schema.org在其汽车标记页面上提供的通用示例。

那么,为什么在使用schema.org建议的方法时Google会弹出错误消息?

为澄清起见,数据如下:

Person 
-> makesOffer
--> itemOffered 
---> car

无论您何时走那条路(一个提供某些东西的人),似乎Google都会抛出错误

je8600 回答:Google测试工具将Json-LD结构化数据显示为错误

来自Google测试工具的错误和警告通常与在Google中获取丰富摘要所需的结构化数据相关。在这种情况下,您的标记不符合产品要求以获取丰富的摘要。

https://developers.google.com/search/docs/data-types/product

由于您的标记与这些丰富的摘要无关,因此您可以忽略该错误。

本文链接:https://www.f2er.com/2478919.html

大家都在问