HistoricalMetricsOptions
Historical metrics options.
Fields |
include_average_cpc
|
bool
Indicates whether to include average cost per click value. Average CPC is provided only for legacy support.
|
year_month_range
|
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 year_month_range provided, the subset of the year month range for which search volume is available are returned.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-25 UTC.
[null,null,["Last updated 2024-11-25 UTC."],[[["Historical metrics can optionally include average cost-per-click (CPC) data, although this is primarily for legacy support."],["You can specify a date range using `year_month_range` to retrieve historical metrics for a specific period, otherwise, the default is the past 12 months; search metrics are available for up to the past 4 years."],["If search volume data isn't available for the entire specified date range, results will be returned only for the period where data is available."]]],[]]