HistoricalMetricsOptions

歷來指標選項。

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

boolean

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

yearMonthRange

object (YearMonthRange)

歷來指標的年度月份範圍。如未指定,系統會傳回過去 12 個月的指標。系統提供過去 4 年的搜尋指標資料。如果沒有提供一整年的搜尋量,就表示系統會傳回該月份範圍內搜尋量的一年。

YearMonthRange

年度月份範圍 (含開始和結束月份)。例如:代表 2020 年 1 月的年度月份範圍為:(2020 年 1 月、2020 年 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)。