Pliki danych Media Actions umożliwiają opisywanie Google treści multimedialnych. Dzięki temu użytkownicy mogą znajdować Twoje treści w wyszukiwarce Google i Asystencie Google oraz rozpoczynać ich odtwarzanie bezpośrednio w Twojej aplikacji lub na Twojej platformie.
Rysunek 1. Działania związane z multimediami w Asystencie Google.
Działania związane z multimediami są oparte na kanale, który zawiera szczegóły Twojego katalogu multimediów. Plik danych to obiekt JSON, który zawiera zbiór elementów. Encja to obiekt schema.org, który reprezentuje element z katalogu: odcinek serialu telewizyjnego, serial telewizyjny, film, utwór, album i inne treści.
Aby umożliwić Google pobranie pliku danych, musisz go zapisać w pliku i hostować w lokalizacji, do której mamy dostęp. Aby zapewnić aktualność treści, Google regularnie pobiera plik danych od hosta.
Rysunek 2. Przebieg działań związanych z multimediami.
Aby zintegrować usługę z Media Actions, wykonaj te czynności:
[null,null,[],[[["Media Actions enable users to discover your media content on Google Search and the Google Assistant and initiate playback directly on your platform."],["Media Actions are powered by a feed, a JSON object containing details of your media catalog, hosted where Google can access it for regular updates."],["Integrating your service with Media Actions involves understanding requirements, creating and hosting a feed, submitting it to Google, and monitoring its status through an Actions on Google project."],["Google is currently working with a limited number of providers to integrate this feature, but you're encouraged to review the documentation in the meantime."]]],["Media Actions utilize feeds to describe media content, enabling users to find and play it via Google Search and Assistant. A JSON feed, containing schema.org entities representing media catalog items, needs to be created and hosted. Google fetches the feed regularly to keep content updated. Integration involves understanding requirements, creating and hosting the feed, completing a quality checklist, and contacting Google for submission. An Actions on Google project monitors feed status. Google currently works with a limited number of providers.\n"]]