HistoricalMetricsOptions
Stay organized with collections
Save and categorize content based on your preferences.
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-10-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-12 UTC."],[[["Historical metrics allow you to include average cost-per-click (CPC) data, though this is primarily for legacy support."],["You can specify a date range for historical metrics using the `year_month_range` field; if unspecified, the past 12 months of data will be returned."],["Search metrics data is available for up to the past 4 years, but if search volume isn't available for the entire requested range, only the available subset will be returned."]]],[]]