Ringkasan feed
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Bagian ini menentukan file feed yang digunakan untuk mengirimkan data inventaris Anda ke Actions Center. Konten feed Anda menentukan layanan mana saja yang Anda berikan dan layanan apa saja yang tersedia.
Struktur feed inventaris ditentukan oleh Google Maps Booking API.
Feed berikut wajib untuk integrasi Pengalihan Iklan Jasa dan Servis:
- Feed entitas: Berisi data yang mendeskripsikan entitas Anda.
- Feed tindakan: Berisi data yang mendeskripsikan deep link yang terkait dengan entitas Anda.
Beberapa kolom dalam feed ini wajib diisi dan beberapa lainnya bersifat opsional. Kolom apa pun yang ditandai sebagai opsional dapat dihapus dari feed jika kosong.
Format feed dideskripsikan menggunakan sintaksis protocol buffer 3. Anda memiliki
opsi untuk mengupload file feed sebagai serialisasi biner data
buffer protokol dalam format pb3 atau dalam format JSON turunan.
Sebaiknya upload feed dalam format JSON.
Sebaiknya gunakan
gzip untuk mengompresi feed sebelum mengupload.
Panduan ini ditujukan khusus untuk buffer protokol Actions Center. Untuk
informasi umum tentang cara menggunakan protocol buffer guna menghasilkan file
pb3,
berikut adalah contoh di Java.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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)."]]