HistoricalMetricsOptions

历史指标选项。

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

boolean

指明是否包含平均每次点击费用值。平均每次点击费用仅适用于旧版支持服务。

yearMonthRange

object (YearMonthRange)

历史指标的年份范围。如果未指定,则返回过去 12 个月的指标。系统可提供过去 4 年的搜索指标。如果无法提供所提供的整个 yearMonthRange 的搜索量,则会返回提供搜索量的年份月份范围的子集。

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)。