Sub topic 12
How search engines use structured data
This chapter assumes you can write JSON-LD with @context and @type, nest entities, embed markup in a page, and run a validator. It covers what search engines do with that markup, and what they do not do.
What search engines do with markup
A crawler fetches your page, finds the application/ld+json script elements, and parses them. The parsed entities help the engine understand what the page is about. Google also uses some types to build rich results. These are search listings with extra features such as star ratings, prices, or breadcrumb trails in place of a plain URL.
Valid markup is not a guarantee
Correct markup makes a page eligible for a rich result. It does not promise one. The engine decides for each query and each user whether to show the enhanced listing. Markup also does not directly raise your ranking. Treat it as a way to be understood and presented well.
Rules you must follow
Google publishes general structured data guidelines. The ones that cause the most trouble are these:
- Mark up only content that users can see on the page. Hidden prices, invented reviews, or ratings that appear nowhere in the visible text violate the guidelines.
- Describe the main content of the page. Do not attach one page's markup to a different page.
- Supply every property the feature requires. Recommended properties are optional but improve the result.
- Keep values accurate and current. A price in the markup must match the price on the page.
Pages that break these rules can lose rich result eligibility. In serious cases, Google applies a manual action, which is a penalty issued by a human reviewer.
Required and recommended properties
Each rich result type has its own documentation page listing required and recommended properties. For example, a Product listing with price information needs an offers value with price and priceCurrency. This Product block is eligible for the merchant-style listing:
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Stainless Steel Pour-Over Kettle",
"image": "https://example.com/images/kettle.jpg",
"offers": {
"@type": "Offer",
"price": "39.90",
"priceCurrency": "EUR",
"availability": "https://schema.org/InStock"
}
}If you removed priceCurrency, the markup would still be valid schema.org. It would no longer meet the feature's requirements, so the Rich Results Test would report an error.
Feature support changes
Search engines add and retire rich result features. Google has removed or limited several, such as FAQ and HowTo results for most sites. The markup for a retired feature is not an error. It is still valid schema.org, and other consumers can still read it. Check the current documentation before you invest in a type, and do not assume a feature you saw last year still exists.
Monitoring in Search Console
Google Search Console reports which structured data types it found on your site, how many items are valid, and which have errors or warnings. Use these reports after a deployment. A template change can break markup on thousands of pages at once, and the report is often the first place you see it.
Common mistakes
- Marking up content that is not on the page.
- Expecting a rich result immediately after validation. Recrawling takes time.
- Treating warnings as errors. Warnings concern recommended properties and do not block eligibility.
- Relying on one search engine's documentation for all engines. Support differs.
Exercise
A product page's JSON-LD passes the Schema Markup Validator, but no price appears in the search listing. Give two possible reasons.
Show answer
Valid schema.org does not guarantee a rich result. The engine may simply choose not to show it. Another reason is that the markup may lack a property the feature requires, such as priceCurrency, or may not match the visible price on the page. The Rich Results Test and the page content would show which applies. The page may also not have been recrawled yet.
Exercise
Why is it a problem to put a 4.8-star AggregateRating in markup when the page shows no reviews?
Show answer
It marks up content users cannot see. That violates the structured data guidelines and can cost the page its rich result eligibility or lead to a manual action.