Pliki danych
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Ta sekcja określa pliki danych służące do przesyłania danych asortymentu do Centrum akcji. Treści w plikach danych określają, jakie usługi oferujesz i jakie są dostępne.
Strukturę plików danych o asortymencie definiuje interfejs Google Maps Booking API.
W przypadku integracji z reklamami Usług Lokalnych z przekierowaniem wymagane są następujące pliki danych:
Niektóre pola w tych plikach danych są wymagane, a inne opcjonalne. W pliku danych można pominąć puste pola oznaczone jako opcjonalne.
Format plików danych jest opisany za pomocą składni protokołu 3. Możesz przesłać plik danych jako binarną serializację danych bufora protokołu w formacie pb3 lub w pochodnym formacie JSON.
Zalecamy przesyłanie plików danych w formacie JSON.
Zalecamy użycie programu do kompresji gzip przed przesłaniem plików danych.
Ten przewodnik dotyczy buforów protokołów w Centrum działań. Ogólne informacje o generowaniu pliku pb3 za pomocą protokołów dostępu: przykład w języku Java.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eInventory data is transmitted to Actions Center using specific feed files, defining available services.\u003c/p\u003e\n"],["\u003cp\u003eMandatory feeds include Entity (describing your business entities) and Action (describing associated deep links).\u003c/p\u003e\n"],["\u003cp\u003eFeeds can be formatted as protocol buffer 3 syntax in pb3 or JSON, with JSON recommended.\u003c/p\u003e\n"],["\u003cp\u003eWhile optional fields can be omitted, required ones must be included for successful data transmission.\u003c/p\u003e\n"],["\u003cp\u003eGoogle recommends using gzip compression for feeds before uploading to optimize the process.\u003c/p\u003e\n"]]],["Inventory data is sent to the Actions Center via feed files, which define service offerings. Mandatory feeds for Local Services Ads Redirect integration include the Entity feed (describing entities) and the Action feed (describing entity deep links). Fields can be required or optional. Feeds use protocol buffer 3 syntax and can be uploaded as binary or JSON; JSON is recommended. Gzip compression is advised before upload. The feeds format is defined by the Google Maps Booking API.\n"],null,["# Feeds overview\n\nThis section specifies the feed files used to transmit your\ninventory data to the Actions Center. The contents of your feeds defines\nwhich services you are providing and what services are available.\n\nThe structure of the inventory feeds are defined by the Google Maps Booking\nAPI.\n\nThe following feeds are mandatory for the Local Services Ads Redirect integration:\n\n- **[Entity feed](/actions-center/verticals/local-services/redirect/reference/feeds/entity-feed):** Contains data describing your entities.\n\n\u003c!-- --\u003e\n\n- **[Action feed](/actions-center/verticals/local-services/redirect/reference/feeds/action-feed):** Contains data describing your deep links associated with your entities.\n\nSome fields in these feeds are required and some are optional. Any field\nmarked as optional can be left out of the feed when empty.\n\nThe feeds format is described using protocol buffer 3 syntax. You have the\noption to upload the feeds file as a binary serialization of the protocol\nbuffer data in [pb3 format](/protocol-buffers/docs/proto3) or in a derived JSON format.\nWe recommend uploading the feeds in JSON format.\n\nWe recommend using\n[gzip to compress feeds](/actions-center/verticals/local-services/redirect/reference/tutorials/compression) prior to upload.\n\nThis guide is specific to the Actions Center protocol buffers. For\ngeneral information on how to use the protocol buffers to generate a pb3\nfile,\n[here is an example in Java](/protocol-buffers/docs/javatutorial)."]]