Feed 概览
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本部分指定了用于将商品目录数据传输到 Action Center 的 Feed 文件。Feed 中的内容可定义您提供哪些服务以及哪些服务可用。
商品目录 Feed 的结构由 Google Maps Booking API 进行定义。
若要集成本地生活服务广告重定向,必须使用以下 Feed:
这些 Feed 中的部分字段为必填字段,部分字段为选填字段。可从 Feed 中删除任何标记为选填的空值字段。
Feed 格式使用协议缓冲区 3 语法进行描述。您可以选择以 pb3 格式或派生的 JSON 格式将 Feed 文件上传为协议缓冲区数据的二进制文件序列化。我们建议您以 JSON 格式上传 Feed。
我们建议您在上传前使用 gzip 压缩 Feed。
本指南适用于 Action Center 协议缓冲区。有关如何使用协议缓冲区生成 pb3 文件的一般信息,请参阅下面的 Java 示例。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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)."]]