データフィード検証ツールでエンティティを検証する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
フィード作成中に、構造上のエラーや一般的なコンテンツのエラーがないか個々のエンティティを検証するには、データフィード検証ツールを使用します。
[Validate on] フィールドで正しいオプションが選択されていることを確認します。ウォッチ アクション エンティティの場合は [ウォッチ アクション]、音楽エンティティの場合は [リッスン アクション]、ラジオ エンティティの場合は [ラジオ アクション] を選択します。同じフィード内でウォッチ アクション エンティティとリッスン アクション エンティティを結合しないでください。

ツールの左側のウィンドウにフィードを貼り付けます。
ウィンドウ間にあるページ下部のボタンをクリックして、エンティティを検証します。

ツールの右ウィンドウに表示されたすべてのエラーと警告を修正します。

データフィード検証ツールの一般的なエラーと警告を解決するには、次のトラブルシューティング手順を実施することをおすすめします。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
[null,null,[],[[["\u003cp\u003eUse the Data Feed Validation tool to identify structural and content errors in your Watch Action, Listen Action, or Radio Action entities.\u003c/p\u003e\n"],["\u003cp\u003eSelect the appropriate entity type (Watch Action, Listen Action, or Radio Action) in the "Validate on" field before validating.\u003c/p\u003e\n"],["\u003cp\u003ePaste your feed into the tool, click the validate button, and address all errors and warnings displayed.\u003c/p\u003e\n"],["\u003cp\u003eFor troubleshooting, expand the error panel for "Uncategorized Errors" and verify the "@type" and "@context" values for schema type errors.\u003c/p\u003e\n"]]],["Use the Data Feed Validation tool to check individual entities for structural and content errors. Select the appropriate entity type (Watch, Listen, or Radio) in the \"Validate on\" field and paste your feed into the tool's left window. Click the validation button and address any errors or warnings shown on the right. For uncategorized errors, expand the error panel; for type errors, ensure correct spelling and proper context. Use schema.org for Watch and schema.googleapis.com for Listen.\n"],null,["# Validate entities with the Data Feed validation tool\n\nTo validate *an individual entity* for structural and common content errors during your feed development, use the [Data Feed Validation tool](https://actions.google.com/tools/feed-validator/u/0/).\n\n1. Make sure that you have correct option selected in the *Validate on* field. Select *Watch Action* for Watch Action entities, *Listen Action* for Music entities and *Radio Action* for Radio entity. Do not combine Watch Action and Listen Action entities in the same feed.\n\n2. Paste your feed into the left window of the tool.\n\n3. Click the button available between the windows and towards the bottom of the page to validate the entity.\n\n4. Correct all the errors and warnings displayed on the right window of the tool.\n\nWe recommend the following troubleshooting steps for resolving common errors and warnings on the [Data Feed validation tool](https://actions.google.com/tools/feed-validator/u/0/):\n\n- When you see `Uncategorized Errors`, expand the error panel to view the details of the error.\n\n- When you see the error message `The type https://search.google.com/structured-data/testing-tool/{$type} is not a type known to Google`, do the following:\n\n - Verify that the value of `@type` is spelled correctly.\n - Make sure that the value of `@context` is set properly. Set `\"@context\": \"http://schema.org\"` for Watch Action and `\"@context\": \"http://schema.googleapis.com\"` for Listen Action."]]