Google Business Performance API یک روش API
جدید دارد که امکان واکشی چندین «DailyMetrics» را در یک درخواست API فراهم میکند.
زمانبندی منسوخ شدن و دستورالعملهای انتقال از روش API reportInsights v4 به API عملکرد نمایه کسبوکار Google را مرور کنید.
REST Resource: locations.placeActionLinks
با مجموعهها، منظم بمانید
ذخیره و دستهبندی محتوا براساس اولویتهای شما.
منبع: PlaceActionLink
نشان دهنده پیوند عمل مکان و ویژگی های آن است.
نمایندگی JSON |
---|
{
"name": string,
"providerType": enum (ProviderType ),
"isEditable": boolean,
"uri": string,
"placeActionType": enum (PlaceActionType ),
"isPreferred": boolean,
"createTime": string,
"updateTime": string
} |
فیلدها |
---|
name | string اختیاری. نام منبع، در قالب locations/{locationId}/placeActionLinks/{place_action_link_id} . فیلد نام فقط در درخواستهای placeActionLinks.patch و placeActionLinks.delete برای بهروزرسانی و حذف پیوندها در نظر گرفته میشود. با این حال، در درخواست placeActionLinks.create نادیده گرفته می شود، جایی که place_action_link_id توسط سرور با ایجاد موفقیت آمیز پیوند جدید اختصاص داده می شود و به عنوان بخشی از پاسخ بازگردانده می شود. |
providerType | enum ( ProviderType ) فقط خروجی نوع ارائه دهنده را مشخص می کند. |
isEditable | boolean فقط خروجی نشان می دهد که آیا این پیوند توسط مشتری قابل ویرایش است یا خیر. |
uri | string مورد نیاز. لینک uri. یک uri یکسان را می توان برای انواع عملکردهای مختلف در مکان های مختلف مورد استفاده مجدد قرار داد. با این حال، تنها یک پیوند اقدام مکان برای هر ترکیب منحصربهفرد از (اوری، نوع عمل مکان، مکان) مجاز است. |
placeActionType | enum ( PlaceActionType ) مورد نیاز. نوع عمل مکان که می توان با استفاده از این لینک انجام داد. |
isPreferred | boolean اختیاری. آیا این پیوند توسط تاجر ترجیح داده می شود. فقط یک پیوند را میتوان بهعنوان ترجیحی در هر نوع اقدام مکان در یک مکان علامتگذاری کرد. اگر یک درخواست آینده پیوند دیگری را به عنوان ترجیحی برای همان نوع اقدام مکان علامتگذاری کند، پیوند ترجیحی فعلی (در صورت وجود) اولویت خود را از دست خواهد داد. |
createTime | string ( Timestamp format) فقط خروجی زمانی که لینک اکشن مکان ایجاد شد. مهر زمانی در قالب RFC3339 UTC "Zulu"، با وضوح نانوثانیه و حداکثر نه رقم کسری. مثالها: "2014-10-02T15:01:23Z" و "2014-10-02T15:01:23.045123456Z" . |
updateTime | string ( Timestamp format) فقط خروجی زمانی که پیوند اکشن مکان آخرین بار اصلاح شد. مهر زمانی در قالب RFC3339 UTC "Zulu"، با وضوح نانوثانیه و حداکثر نه رقم کسری. مثالها: "2014-10-02T15:01:23Z" و "2014-10-02T15:01:23.045123456Z" . |
نوع ارائه دهنده
نوع ارائه دهنده پیوند، فقط قابل خواندن است.
Enums |
---|
PROVIDER_TYPE_UNSPECIFIED | مشخص نشده است. |
MERCHANT | یک ارائه دهنده 1P مانند یک تاجر یا یک آژانس از طرف یک تاجر. |
AGGREGATOR_3P | یک جمعکننده 3P، مانند یک شریک Reserve with Google . |
PlaceActionType
نوع عمل مکانی که می توان با استفاده از پیوند انجام داد.
Enums |
---|
PLACE_ACTION_TYPE_UNSPECIFIED | مشخص نشده است. |
APPOINTMENT | نوع اقدام، رزرو قرار است. |
ONLINE_APPOINTMENT | نوع اقدام رزرو یک قرار آنلاین است. |
DINING_RESERVATION | نوع عمل، رزرو ناهارخوری است. |
FOOD_ORDERING | نوع اقدام، سفارش غذا برای تحویل و/یا بیرون بردن است. |
FOOD_DELIVERY | نوع عمل سفارش غذا برای تحویل است. |
FOOD_TAKEOUT | نوع عمل، سفارش غذا برای بیرون بردن است. |
SHOP_ONLINE | نوع اقدام خرید است که می تواند تحویل و/یا تحویل گرفتن باشد. |
روش ها |
---|
| یک پیوند اقدام مکان مرتبط با مکان مشخص شده ایجاد می کند و آن را برمی گرداند. |
| پیوند اقدام مکان را از مکان مشخص شده حذف می کند. |
| پیوند اقدام مکان مشخص شده را دریافت می کند. |
| پیوندهای عمل مکان را برای مکان مشخص شده فهرست می کند. |
| پیوند عمل مکان مشخص شده را به روز می کند و آن را برمی گرداند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-09-24 بهوقت ساعت هماهنگ جهانی.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"اطلاعاتی که نیاز دارم وجود ندارد"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"بیشازحد پیچیده/ مراحل بسیار زیاد"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"قدیمی"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"مشکل ترجمه"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشکل کد / نمونهها"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غیره"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"درک آسان"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"مشکلم را برطرف کرد"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غیره"
}]
{"lastModified": "\u062a\u0627\u0631\u06cc\u062e \u0622\u062e\u0631\u06cc\u0646 \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc 2024-09-24 \u0628\u0647\u200c\u0648\u0642\u062a \u0633\u0627\u0639\u062a \u0647\u0645\u0627\u0647\u0646\u06af \u062c\u0647\u0627\u0646\u06cc."}
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2024-09-24 بهوقت ساعت هماهنگ جهانی."]]