- JSON 表示法
- ProcessingStatus
- BookingStatus
- WaitlistStatus
- PlaceInfo
- LocalServicesMatchInfo
- MatchedProvider
- DirectUrl
- UrlType
「透過 Google 預訂」平台上的商家狀態,
JSON 表示法 |
---|
{ "name": string, "merchantName": string, "inputGeoInfo": { object ( |
欄位 | |
---|---|
name |
商家狀態資源名稱,格式為 |
merchantName |
合作夥伴提供的商家名稱。 |
inputGeoInfo |
合作夥伴提供商家的地理位置資訊。 |
processingStatus |
商家處理狀態。 |
bookingStatus |
與端對端預訂整合相關的狀態。 |
waitlistStatus |
與等候名單整合相關的狀態。 |
geoMatch |
此商家的相符地理位置。如果商家與地理區域比對不相符,則為空白。 |
localServicesMatch |
與這個商家的在地生活服務相符。如果該商家不是當地服務商家,或無法與任何供應商配對,則為空白。 |
directUrls[] |
網址清單,用於顯示目前商家商品目錄的內容。請注意,這並不代表廣告空間確實會放送,而且網址可能會與公開顯示的網址不同。 |
ProcessingStatus
商家處理狀態。
列舉 | |
---|---|
PROCESSING_STATUS_UNSPECIFIED |
狀態不明。 |
IN_PROGRESS |
Madden 已收到商家,但商家仍在處理中。處於這個狀態的商家不會填入其他狀態。 |
COMPLETED |
系統已計算商家的其他狀態。 |
BookingStatus
與端對端預訂整合相關的狀態。
JSON 表示法 |
---|
{ "hasValidFutureInventory": boolean } |
欄位 | |
---|---|
hasValidFutureInventory |
如果商家在未來 30 天內有商品目錄,則為「是」。並不保證商家一定能看到廣告。 |
WaitlistStatus
與等候名單整合相關的狀態。
JSON 表示法 |
---|
{ "hasValidWaitlistService": boolean } |
欄位 | |
---|---|
hasValidWaitlistService |
如果商家提供等候名單服務,則為「是」。並不保證商家一定能看到廣告。 |
PlaceInfo
相符地點的資訊。
JSON 表示法 |
---|
{ "name": string, "formattedAddress": string, "placeId": string } |
欄位 | |
---|---|
name |
地點的名稱。 |
formattedAddress |
格式化地址 (以當地語言表示)。 |
placeId |
這個地點的 Google 地點 ID。可用來建立 Google 地圖網址,或擷取地點的更多詳細資料。如需使用範例,請參閱 https://developers.google.com/places/web-service/place-id。 |
LocalServicesMatchInfo
Google 在地生活服務相符結果 (僅適用於在地生活服務商家)。
JSON 表示法 |
---|
{
"matchedProviders": [
{
object ( |
欄位 | |
---|---|
matchedProviders[] |
相符的服務供應商。一個商家可以與多家服務供應商配對。 |
MatchedProvider
在地生活服務供應商。
JSON 表示法 |
---|
{ "customerId": string, "categories": [ string ] } |
欄位 | |
---|---|
customerId |
Google 在地生活服務外部客戶 ID。 |
categories[] |
在地生活服務類別 (產業)。例如「水電工」和「carpet_cleaning」。 |
DirectUrl
用來顯示商家的網址。
JSON 表示法 |
---|
{
"type": enum ( |
欄位 | |
---|---|
type |
這個網址的類型。 |
url |
可顯示此商家的網址。 |
UrlType
顯示網址的類型。
列舉 | |
---|---|
URL_TYPE_UNSPECIFIED |
未指定。 |
BOOKING |
端對端預訂網址。 |
WAITLIST |
端對端等候名單網址。 |
LOCAL_SERVICES |
Google 在地生活服務網址。 |