Google made a major change to their Merchant Listing structured data requirements in addition to adding clarification on how to use structured data to indicate how long a sale prices will last. In total, there are three new additions but the biggest change by far is the addition of a new Category property. While it’s not a “required” structured data property it’s still a recommended one.
New Category Property
In Schema.org structured data, a Type is a classification of an entity, to say what something is. A structured data Property is an attribute of the Type, it can say what kind of type or add other descriptive details about the Type.
Google added a new category property to the Product structured data, which enables merchants to more granularly classify products directly in markup rather than relying solely on feed attributes. It also gives merchants a way to tie the web page structured data to Google’s own product taxonomy, closing a gap between what’s marked up on the page and what’s submitted through the Merchant Center feed.
Google’s new category property accepts either plain text or a CategoryCode object.
Plain Text
Plain text works like the existing product_type attribute in product feeds. It’s a custom category label that merchants define themselves.
CategoryCode
CategoryCode is a structured object that lets you declare a Google Product Category (GPC) directly in markup, using inCodeSet to point to Google’s taxonomy and codeValue to specify the category, either by numeric ID or full path. The CategoryCode object directly corresponds to the merchant feed specific Google Product Category (GPC). CategoryCode enables merchants to put that same GPC value directly into their on-page structured data instead of it only appearing in the merchant feed.
Here is example structured data showing how it works:
"category": [
{
"@type": "CategoryCode",
"inCodeSet": "https://www.google.com/basepages/producttype/taxonomy-with-ids.en-US.txt",
"codeValue": "2271"
},
{
"@type": "CategoryCode",
"inCodeSet": "https://www.google.com/basepages/producttype/taxonomy-with-ids.en-US.txt",
"codeValue": "Apparel & Accessories > Clothing > Dresses"
},
"Dresses",
"Special Occasion > Wedding & Bridal Party Dresses"
]
Google’s new guidance explains:
“Text or CategoryCode
Specifies the product’s categories. This property can accept an array of values, mixing plain text strings and CategoryCode objects.
Custom product types: Plain Text values represent your custom product category, similar to the product_type attribute in product feeds. We recommend keeping custom product types under the 750-character limit.
Google Product Category (GPC): To specify a GPC, similar to the google_product_category attribute in product feeds, use the CategoryCode type.
Set @type to CategoryCode.
Set inCodeSet to a Google Product Taxonomy URL (for example, “https://www.google.com/basepages/producttype/taxonomy-with-ids.en-US.txt”).
Set codeValue to…
Source link
Disclaimer
We strive to uphold the highest ethical standards in all of our reporting and coverage. We blogs.grocliq.com want to be transparent with our readers about any potential conflicts of interest that may arise in our work. It’s possible that some of the investors we feature may have connections to other businesses, including competitors or companies we write about. However, we want to assure our readers that this will not have any impact on the integrity or impartiality of our reporting. We are committed to delivering accurate, unbiased news and information to our audience, and we will continue to uphold our ethics and principles in all of our work. Thank you for your trust and support.
Website Upgradation is going on for any glitch kindly connect at [email protected]