Google Business Performance API, tek bir API isteğinde birden fazla "GünlükMetrik" getirmeye olanak tanıyan
YENİ bir API yöntemine sahiptir.
Kullanımdan kaldırma planını ve v4 reportInsights API yönteminden Google Business Profile Performance API'ye geçiş talimatlarını inceleyin.
MetricOption
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Yanıtta verilerin nasıl görüntüleneceğini belirtme seçeneği.
Sıralamalar |
METRIC_OPTION_UNSPECIFIED |
Metrik seçeneği belirtilmedi. İstekte varsayılan olarak AGGREGATED_TOTAL olacak. |
AGGREGATED_TOTAL |
Zaman aralığının tamamında toplanan iade değerleri. Bu, varsayılan değerdir. |
AGGREGATED_DAILY |
Zaman aralığı boyunca günlük zaman damgası alınmış değerleri döndürür. |
BREAKDOWN_DAY_OF_WEEK |
Değerler, haftanın gününe göre bir döküm olarak döndürülür. Yalnızca ACTIONS_PHONE için geçerlidir. |
BREAKDOWN_HOUR_OF_DAY |
Değerler, günün saatine göre bir döküm olarak döndürülür. Yalnızca ACTIONS_PHONE için geçerlidir. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[[["\u003cp\u003eThe \u003ccode\u003emetricOption\u003c/code\u003e field controls how data is displayed, with \u003ccode\u003eAGGREGATED_TOTAL\u003c/code\u003e as the default, showing aggregated values for the entire timeframe.\u003c/p\u003e\n"],["\u003cp\u003eDaily or hourly breakdowns are available for phone call actions (\u003ccode\u003eACTIONS_PHONE\u003c/code\u003e) using \u003ccode\u003eAGGREGATED_DAILY\u003c/code\u003e, \u003ccode\u003eBREAKDOWN_DAY_OF_WEEK\u003c/code\u003e, or \u003ccode\u003eBREAKDOWN_HOUR_OF_DAY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIf no \u003ccode\u003emetricOption\u003c/code\u003e is specified (\u003ccode\u003eMETRIC_OPTION_UNSPECIFIED\u003c/code\u003e), it defaults to \u003ccode\u003eAGGREGATED_TOTAL\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# MetricOption\n\nOption to specify how data should be displayed in the response.\n\n| Enums ||\n|-----------------------------|------------------------------------------------------------------------------------------|\n| `METRIC_OPTION_UNSPECIFIED` | No metric option specified. Will default to AGGREGATED_TOTAL in a request. |\n| `AGGREGATED_TOTAL` | Return values aggregated over the entire time frame. This is the default value. |\n| `AGGREGATED_DAILY` | Return daily timestamped values across time range. |\n| `BREAKDOWN_DAY_OF_WEEK` | Values will be returned as a breakdown by day of the week. Only valid for ACTIONS_PHONE. |\n| `BREAKDOWN_HOUR_OF_DAY` | Values will be returned as a breakdown by hour of the day. Only valid for ACTIONS_PHONE. |"]]