
Google cập nhật dữ liệu cấu trúc cho Merchant Listing
Google vừa bổ sung thuộc tính danh mục và thời gian giảm giá vào dữ liệu cấu trúc Merchant Listing nhằm hiển thị sản phẩm chính xác hơn.
Bản cập nhật Merchant Listing mới đây của Google tập trung vào việc bổ sung thuộc tính Category (danh mục). Dù không bắt buộc, hệ thống vẫn khuyến nghị các nhà bán lẻ sử dụng thuộc tính này để phân loại sản phẩm.
Thuộc tính Category cho phép các trang web phân loại hàng hóa chi tiết ngay trong mã đánh dấu (markup), thay vì chỉ phụ thuộc vào nguồn cấp dữ liệu (feed). Dưới đây là đoạn mã dữ liệu cấu trúc mẫu minh họa cách người dùng có thể khai báo kết hợp nhiều loại giá trị danh mục:
{
"@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"
]
Về hướng dẫn cụ thể cho thuộc tính Category, tài liệu của Google giải thích:
“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 the GPC ID (for example, “2271”) or the full category path (for example, “Apparel & Accessories > Clothing > Dresses”).
When using the path format, use > as the separator between levels. Each segment in the path must contain at least one letter. Numeric IDs are also accepted.
You can provide multiple category values. For example, you can include several GPC codes or paths and several custom product type strings.”
Bên cạnh đó, Google cũng làm rõ phần thời gian giảm giá (Sale Duration) thông qua ba thuộc tính là priceValidUntil, validFrom và validThrough. Để xác định khoảng thời gian giá khuyến mãi có hiệu lực, tài liệu mới hướng dẫn:
“Sale duration
To specify the period when a sale price is active, use the following schema.org properties in ISO 8601 format (for example, 2025-12-31T23:59:59+01:00):
Start date and time: Use the validFrom property.
End date and time: Use either the validThrough property or the priceValidUntil property.
Best practices:
Provide both a start and an end date/time to clearly define the sale period.
Ensure the start date/time (from the validFrom property) is earlier than or equal to the end date/time (from the validThrough property or the priceValidUntil property).
We recommend including the time and timezone in the ISO 8601 format for accuracy in Google systems.
Where to place the properties:On the Offer node: You can add the validFrom property and (the validThrough property or the priceValidUntil property) directly to the Offer node. These dates apply when the price property on the Offer node represents the current active sale price.
On a PriceSpecification node: If the sale price is defined within a PriceSpecification node (typically one without the priceType property when a StrikethroughPrice value is also present), add the validFrom property and the validThrough property to that specific PriceSpecification node. Note that the priceValidUntil property isn’t applicable to the PriceSpecification type.”
Những thay đổi này nhằm tạo sự đồng nhất giữa dữ liệu cấu trúc Schema.org và thông tin GPC trên Merchant Center. Nhờ phương thức khai báo trực tiếp trên trang, thông tin sản phẩm và giá bán sẽ hiển thị chuẩn xác hơn trên kết quả tìm kiếm, hạn chế tình trạng người mua nhìn thấy các đợt giảm giá đã kết thúc.
Thêm hanthienhai.com vào danh sách nguồn ưu tiên trên Google