הוספת נתונים של מבצע מובנה

רשימות מחירים מאפשרות לעסקים לשתף בקלות את כל מה שיש להם להציע, ישירות בחיפוש Google ובמפות Google. ניתן ליצור רשימות מחירים באמצעות נתוני הצעות מובנים, שמאפשרים להוסיף נתונים עסקיים לדף העסקי. תפריטי אוכל ועד שירותים שונים – כל מה שאתם צריכים לעשות הוא לאפשר ללקוחות לראות מה יש לכם להציע לפני שהם נכנסים

זו דוגמה לנתוני תפריט מובְנים בחיפוש Google:

בתפריט של מקדונלד'ס.

ניתן להוסיף למיקום מסוים נתונים מובנים של תפריט, כמו תפריט אוכל, באמצעות האובייקט PriceList.

בבקשת ה-JSON הבאה מוסבר איך לפרסם תפריט ארוחת בוקר במיקום. התגובה מכילה מופע של האובייקט Location המעודכן.

HTTP
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 המעודכן.

HTTP
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"
              }
            }
          ]
        }
      ]
    }
  ]
}