映画カルーセル(Movie)の構造化データ
映画(Movie)の構造化データ(schema.org)のマークアップ、実装例をご紹介。実装するとリッチリザルトとして映画のタイトルや監督、詳細情報が表示されやすくなります。映画のタイトル、監督、画像など、詳細情報も表示できます。映画カルーセルは、モバイル デバイスでのみ使用可能です。
How to add structured data
Structured data is a standardized format for providing information about a page and classifying the page content. If you're new to structured data, you can learn more about how structured data works.
Here's an overview of how to build, test, and release structured data.
- Add the required properties. Based on the format you're using, learn where to insert structured data on the page.
- Follow the guidelines.
- Validate your code using the Rich Results Test and fix any critical errors. Consider also fixing any non-critical issues that may be flagged in the tool, as they can help improve the quality of your structured data (however, this isn't necessary to be eligible for rich results).
- Deploy a few pages that include your structured data and use the URL Inspection tool to test how Google sees the page. Be sure that your page is
accessible to Google and not blocked by a robots.txt file, the
noindextag, or login requirements. If the page looks okay, you can ask Google to recrawl your URLs. - To keep Google informed of future changes, we recommend that you submit a sitemap. You can automate this with the Search Console Sitemap API.
例
概要ページ + 複数の詳細ページ
概要ページにはリスト内の各アイテムに関する簡単な説明を記載します。それぞれの説明には 1 つのアイテムに焦点を当てた別の詳細ページへの参照を含めます。JSON-LD で記述した、概要映画リストの例を示します。
<html>
<head>
<title>The Best Movies from the Oscars - 2024</title>
<script type="application/ld+json">
{
"@context":"https://schema.org",
"@type":"ItemList",
"itemListElement":[
{
"@type":"ListItem",
"position":1,
"url":"https://example.com/a-star-is-born.html"
},
{
"@type":"ListItem",
"position":2,
"url":"https://example.com/bohemian-rhapsody.html"
},
{
"@type":"ListItem",
"position":3,
"url":"https://example.com/black-panther.html"
}
]
}
</script>
</head>
<body>
</body>
</html>単一のオールインワン ページのリスト
単一のオールインワン ページのリストでは、各アイテムの詳細な説明を含むすべてのリスト情報をホストします。 JSON-LD で記述した、単一のオールインワン映画リストの例を示します。
<html>
<head>
<title>The Best Movies from the Oscars - 2024</title>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "ItemList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"item": {
"@type": "Movie",
"url": "https://example.com/2024-best-picture-noms#a-star-is-born",
"name": "A Star Is Born",
"image": "https://example.com/photos/6x9/photo.jpg",
"dateCreated": "2024-10-05",
"director": {
"@type": "Person",
"name": "Bradley Cooper"
},
"review": {
"@type": "Review",
"reviewRating": {
"@type": "Rating",
"ratingValue": 5
},
"author": {
"@type": "Person",
"name": "John D."
}
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": 90,
"bestRating": 100,
"ratingCount": 19141
}
}
},
{
"@type": "ListItem",
"position": 2,
"item": {
"@type": "Movie",
"name": "Bohemian Rhapsody",
"url": "https://example.com/2024-best-picture-noms#bohemian-rhapsody",
"image": "https://example.com/photos/6x9/photo.jpg",
"dateCreated": "2024-11-02",
"director": {
"@type": "Person",
"name": "Bryan Singer"
},
"review": {
"@type": "Review",
"reviewRating": {
"@type": "Rating",
"ratingValue": 3
},
"author": {
"@type": "Person",
"name": "Vin S."
}
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": 61,
"bestRating": 100,
"ratingCount": 21985
}
}
},
{
"@type": "ListItem",
"position": 3,
"item": {
"@type": "Movie",
"name": "Black Panther",
"url": "https://example.com/2024-best-picture-noms#black-panther",
"image": "https://example.com/photos/6x9/photo.jpg",
"dateCreated": "2024-02-16",
"director": {
"@type": "Person",
"name": "Ryan Coogler"
},
"review": {
"@type": "Review",
"reviewRating": {
"@type": "Rating",
"ratingValue": 2
},
"author": {
"@type": "Person",
"name": "Trevor R."
}
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": 96,
"bestRating": 100,
"ratingCount": 88211
}
}
}
]
}
</script>
</head>
<body>
</body>
</html>ガイドライン
映画カルーセルで表示されるようにするには、以下のガイドラインを遵守する必要があります。
構造化データタイプの定義
コンテンツがリッチリザルトとして表示されるようにするには、必須プロパティが必要です。また、推奨プロパティを使用すると、コンテンツについてさらに詳しい情報を追加できるので、ユーザー エクスペリエンスの向上につながります。
Movie
カルーセル オブジェクトでは、カルーセル プロパティに加えて以下に示すプロパティを定義します。
Movie の定義の全文は schema.org/Movie で確認できます。
Google がサポートするプロパティは、次のとおりです。
| 必須プロパティ | |
|---|---|
image |
URL または ImageObject
映画を表す画像。画像に関するその他のガイドライン:
|
name |
Text
映画の題名。 |
| 推奨プロパティ | |
|---|---|
|
映画に対する平均レビュースコアの注釈。レビュー スニペットのガイドラインと、必須および推奨の AggregateRating プロパティのリストに準拠します。 |
dateCreated |
Date または DateTime
映画の公開日。 |
director |
Person
映画の監督。次に例を示します。 "director": { "@type": "Person", "name": "Bradley Cooper" } |
|
映画のネストされた |
トラブルシューティング
構造化データの実装またはデバッグで問題が発生した場合は、以下のリソースが参考になります。
- コンテンツ管理システム(CMS)を使用している場合や、別の人がサイトを管理している場合は、担当者にサポートを依頼してください。その際は、問題の詳細を含む Search Console のメッセージを必ず転送してください。
- 構造化データを使用するコンテンツが必ず検索結果に表示されるとは限りません。コンテンツがリッチリザルトに表示されないときのよくある原因については、構造化データに関する一般的なガイドラインをご覧ください。
- 構造化データにエラーがある可能性があります。構造化データエラーの一覧と解析不能な構造化データに関するレポートを確認してください。
- 構造化データへの手動による対策がページに対して行われると、ページ上の構造化データが考慮されなくなります(ただし、Google 検索結果にはページは引き続き表示されます)。構造化データの問題を修正するには、手動による対策レポートを使用します。
- コンテンツにガイドライン違反がないか、ガイドラインを再度確認してください。スパム コンテンツまたはスパム マークアップの使用が原因で、問題が発生することがありますが、これは構文の問題ではない可能性があり、リッチリザルト テストでは特定できません。
- 構造化データに関する問題は、サイトのコンテンツが検索結果にどのように表示されるかに影響する可能性があります。リッチリザルトが見つからない場合やリッチリザルトの総数が減少している場合のトラブルシューティング ガイドを使用して、Search Console でこれらの問題を特定、修正、検証する手順を確認してください。
- 再クロールとインデックスの再登録にかかる時間を考慮してください。ページを公開した後、Google がそのページを検出してクロールするまで数日かかる場合があることにご注意ください。クロールとインデックス登録に関する一般的な質問については、Google 検索のクロールとインデックス登録に関するよくある質問をご覧ください。
- Google 検索セントラル フォーラムでも質問を受け付けています。