Convalidare le entità con lo strumento di convalida del feed di dati
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Per convalidare una singola entità per gli errori strutturali e comuni dei contenuti durante lo sviluppo del feed, utilizza lo strumento di convalida del feed di dati.
Assicurati di aver selezionato l'opzione corretta nel campo Convalida su. Seleziona Watch Action per le entità Watch Action, Ascolta Action per le entità Music e Radio Action per l'entità Radio. Non combinare le entità Watch Action e Listen Action nello stesso feed.

Incolla il feed nella finestra a sinistra dello strumento.
Fai clic sul pulsante disponibile tra le finestre e verso la parte inferiore della pagina per convalidare l'entità.

Correggi tutti gli errori e gli avvisi visualizzati nella finestra a destra dello strumento.

Consigliamo i seguenti passaggi di risoluzione dei problemi per risolvere errori e avvisi comuni nello strumento di convalida del feed di dati:
Quando vedi Uncategorized Errors
, espandi il riquadro degli errori per visualizzare i dettagli.

Quando visualizzi il messaggio di errore The type https://search.google.com/structured-data/testing-tool/{$type} is not a type known to Google
:
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
[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."]]