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):2024-11-26。
[null,null,["最后更新时间 (UTC):2024-11-26。"],[[["Inventory data is transmitted to Actions Center using specific feed files, defining available services."],["Mandatory feeds include Entity (describing your business entities) and Action (describing associated deep links)."],["Feeds can be formatted as protocol buffer 3 syntax in pb3 or JSON, with JSON recommended."],["While optional fields can be omitted, required ones must be included for successful data transmission."],["Google recommends using gzip compression for feeds before uploading to optimize the process."]]],["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"]]