รายการราคาช่วยให้ธุรกิจแชร์ทุกอย่างที่มีใน Google Search และ Maps ได้โดยตรงอย่างง่ายดาย คุณสร้างรายการราคาได้โดยใช้ข้อมูลข้อเสนอที่มีโครงสร้าง ซึ่งช่วยให้คุณเพิ่มข้อมูลธุรกิจลงในรายชื่อได้ ทำให้ลูกค้าเห็นสิ่งที่คุณนำเสนอก่อนที่จะเดินเข้าร้าน ตั้งแต่เมนูอาหารไปจนถึงข้อเสนอบริการต่างๆ
ตัวอย่างข้อมูลเมนูที่มีโครงสร้างใน Google Search มีดังนี้
ข้อมูลเมนู
คุณเพิ่มข้อมูลเมนูที่มีโครงสร้าง เช่น เมนูอาหาร ไปยังตำแหน่งได้โดยใช้ออบเจ็กต์ PriceList
คำขอ JSON ต่อไปนี้แสดงวิธีเผยแพร่เมนูอาหารเช้าไปยังตำแหน่ง การตอบกลับมีอินสแตนซ์ของออบเจ็กต์ Location
ที่อัปเดตแล้ว
PATCH https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}?updateMask=priceLists { "priceLists": [ { "priceListId": "Breakfast", "labels": [ { "displayName": "Breakfast", "description": "Tasty Google Breakfast", "languageCode": "en" } ], "sourceUrl": "http://www.google.com/todays_menu", "sections": [ { "sectionId": "entree_menu", "sectionType":"FOOD", "labels": [ { "displayName": "Entrées", "description": "Breakfast Entrées", "languageCode": "en" } ], "items": [ { "itemId": "scramble", "labels": [ { "displayName": "Big Scramble", "description": "A delicious scramble filled with Potatoes, Eggs, Bell Peppers, and Sausage", "languageCode": "en" } ], "price": { "currencyCode": "USD", "units": "12", "nanos": "200000000" } }, { "itemId": "steak_omelette", "labels": [ { "displayName": "Steak Omelette", "description": "Three egg omelette with grilled prime rib, fire-roasted bell peppers and onions, saut\u00e9ed mushrooms and melted Swiss cheese", "languageCode": "en" } ], "price": { "currencyCode": "USD", "units": "15", "nanos": "750000000" } } ] } ] } ] }
ข้อมูลบริการ
หากธุรกิจนำเสนอตัวเลือกบริการที่แตกต่างกัน คุณจะเพิ่มข้อมูลบริการที่มีโครงสร้างลงในสถานที่ได้โดยใช้ออบเจ็กต์ PriceList
คำขอ JSON ต่อไปนี้แสดงวิธีเผยแพร่ข้อเสนอบริการไปยังตำแหน่ง การตอบกลับมีอินสแตนซ์ของออบเจ็กต์ Location
ที่อัปเดตแล้ว
PATCH https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}?updateMask=priceLists { "priceLists": [ { "priceListId": "Oil Change", "labels": [ { "displayName": "Oil Change", "description": "Caseys Qwik Oil Change", "languageCode": "en" } ], "sourceUrl": "http://www.google.com/todays_services", "sections": [ { "sectionId": "oil_services", "sectionType":”SERVICES”, "labels": [ { "displayName": "Services", "description": "Oil Changes", "languageCode": "en" } ], "items": [ { "itemId": "20-minute-oil-change", "labels": [ { "displayName": "20 Minute Oil Change", "description": "Quick oil change and filter service.", "languageCode": "en" } ], "price": { "currencyCode": "USD", "units": "30", "nanos": "200000000" } }, { "itemId": "full_service_oil_change", "labels": [ { "displayName": "Full Service Oil Change", "description": "Quick oil change, filter service, and brake inspection.", "languageCode": "en" } ], "price": { "currencyCode": "USD", "units": "45", "nanos": "750000000" } } ] } ] } ] }