Historical metrics options.
JSON representation |
---|
{
"includeAverageCpc": boolean,
"yearMonthRange": {
object ( |
Fields | |
---|---|
includeAverageCpc |
Indicates whether to include average cost per click value. Average CPC is provided only for legacy support. |
yearMonthRange |
The year month range for historical metrics. If not specified, metrics for the past 12 months are returned. Search metrics are available for the past 4 years. If the search volume is not available for the entire yearMonthRange provided, the subset of the year month range for which search volume is available are returned. |
YearMonthRange
The year month range inclusive of the start and end months. Eg: A year month range to represent Jan 2020 would be: (Jan 2020, Jan 2020).
JSON representation |
---|
{ "start": { object ( |
Fields | |
---|---|
start |
The inclusive start year month. |
end |
The inclusive end year month. |
YearMonth
Year month.
JSON representation |
---|
{
"year": string,
"month": enum ( |
Fields | |
---|---|
year |
The year (for example, 2020). |
month |
The month of the year. (for example, FEBRUARY). |