Method: locations.getDailyMetricsTimeSeries

特定の日次指標に関連付けられている特定の期間の各日付の値を返します。

リクエストの例: GET https://businessprofileperformance.googleapis.com/v1/locations/12345:getDailyMetricsTimeSeries?dailyMetric=WEBSITE_CLICKS&dailyRange.start_date.year=2022&dailyRange.start_date.month=1&dailyRange.start_date.day=1&dailyRange.end_date.year=2022&dailyRange.end_date.month=3&dailyRange.end_date.day=31

HTTP リクエスト

GET https://businessprofileperformance.googleapis.com/v1/{name=locations/*}:getDailyMetricsTimeSeries

この URL は gRPC Transcoding 構文を使用します。

パスパラメータ

パラメータ
name

string

必須。時系列を取得するロケーション。形式: locations/{locationId}。locationId は難読化されていないリスティング ID です。

クエリ パラメータ

パラメータ
dailyMetric

enum (DailyMetric)

必須。時系列を取得する指標。

dailyRange

object (DailyRange)

必須。時系列を取得する期間。

dailySubEntityType

object (DailySubEntityType)

(省略可)時系列が関連するサブエンティティ タイプと ID。現在サポートされている DailyMetrics は NONE です。

リクエスト本文

リクエストの本文は空にする必要があります。

レスポンスの本文

locations.getDailyMetricsTimeSeries のレスポンスを表します。

成功すると、レスポンスの本文に次の構造のデータが含まれます。

JSON 表現
{
  "timeSeries": {
    object (TimeSeries)
  }
}
フィールド
timeSeries

object (TimeSeries)

日次時系列。

認可スコープ

次の OAuth スコープが必要です。

  • https://www.googleapis.com/auth/business.manage

詳細については、OAuth 2.0 の概要をご覧ください。