مروری بر فیدها
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
این بخش فایل های فید مورد استفاده برای انتقال داده های موجودی شما به Action Center را مشخص می کند. محتویات فیدهای شما مشخص می کند که کدام خدمات ارائه می کنید و چه خدماتی در دسترس هستند.
ساختار فیدهای موجودی توسط Google Maps Booking API تعریف شده است.
فیدهای زیر برای ادغام تغییر مسیر تبلیغات خدمات محلی الزامی است:
- فید نهاد : حاوی دادههایی است که موجودیتهای شما را توصیف میکند.
- فید اقدام : حاوی دادههایی است که پیوندهای عمیق مرتبط با موجودیتهای شما را توصیف میکند.
برخی از فیلدها در این فیدها ضروری و برخی اختیاری هستند. هر فیلدی که بهعنوان اختیاری علامتگذاری شده است را میتوان در صورت خالی بودن از فید خارج کرد.
قالب فیدها با استفاده از دستور پروتکل بافر 3 توضیح داده شده است. شما این امکان را دارید که فایل فیدها را به صورت سریال سازی باینری از داده های بافر پروتکل در قالب pb3 یا در قالب JSON مشتق شده آپلود کنید. توصیه می کنیم فیدها را با فرمت JSON آپلود کنید.
توصیه می کنیم از gzip برای فشرده سازی فیدها قبل از آپلود استفاده کنید.
این راهنما مختص بافرهای پروتکل Action Center است. برای اطلاعات کلی در مورد نحوه استفاده از بافرهای پروتکل برای تولید یک فایل pb3، در اینجا یک مثال در جاوا آورده شده است .
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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)."]]