AI-generated Key Takeaways
- 
          
The request message for
KeywordPlanIdeaService.GenerateKeywordHistoricalMetricsincludes fields to specify the customer, keywords, targeting options, and metrics to retrieve. - 
          
You can request historical metrics for up to 10,000 keywords.
 - 
          
You can target specific locations and languages, and include adult keywords if desired.
 - 
          
The request allows specifying the targeting network and options for aggregate and historical metrics.
 
Request message for KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics.
| Fields | |
|---|---|
 | 
                
                   
 The ID of the customer with the recommendation.  | 
              
 | 
                
                   
 A list of keywords to get historical metrics. Not all inputs will be returned as a result of near-exact deduplication. For example, if stats for "car" and "cars" are requested, only "car" will be returned. A maximum of 10,000 keywords can be used.  | 
              
 | 
                
                   
 If true, adult keywords will be included in response. The default value is false.  | 
              
 | 
                
                   
 The resource names of the location to target. Maximum is 10. An empty list MAY be used to specify all targeting geos.  | 
              
 | 
                
                  
                   Targeting network. If not set, Google Search And Partners Network will be used.  | 
              
 | 
                
                  
                   The aggregate fields to include in response.  | 
              
 | 
                
                  
                   The options for historical metrics data.  | 
              
 | 
                
                   
 The resource name of the language to target. Each keyword belongs to some set of languages; a keyword is included if language is one of its languages. If not set, all keywords will be included.  |