HistoricalMetricsOptions

歷來指標選項。

JSON 表示法
{
  "includeAverageCpc": boolean,
  "yearMonthRange": {
    object (YearMonthRange)
  }
}
欄位
includeAverageCpc

boolean

表示是否要加入平均單次點擊出價值。平均單次點擊出價僅適用於舊版支援。

yearMonthRange

object (YearMonthRange)

歷來指標的年份月份範圍。如未指定,系統會傳回過去 12 個月的指標。系統可提供過去 4 年內的搜尋指標。如果系統無法提供一整年的搜尋量資料,系統會傳回該年度期間可提供的搜尋量。

YearMonthRange

年份月份範圍,含開始及結束月份。例如:代表 2020 年 1 月的年份範圍會是:(2020 年 1 月 1 月)。

JSON 表示法
{
  "start": {
    object (YearMonth)
  },
  "end": {
    object (YearMonth)
  }
}
欄位
start

object (YearMonth)

含開始年份。

end

object (YearMonth)

含結束年分的年分。

YearMonth

年度的月份。

JSON 表示法
{
  "year": string,
  "month": enum (MonthOfYear)
}
欄位
year

string (int64 format)

年 (例如 2020)。

month

enum (MonthOfYear)

一年中的月份。(例如 FEBRUARY)。