Hello Google Ads team,
I requested historical metrics for keyword feuerschale kinder with location code 2276, language code 1001 by calling Google Ads API KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics method, but keyword_metrics in response was null.
Request body:
{
"customer_id": "xxxxxxxx",
"keywords": [
"feuerschale kinder"
],
"language": "languageConstants/1001",
"geo_target_constants": [
"geoTargetConstants/2276"
],
"keyword_plan_network": 2,
"include_adult_keywords": true,
"historical_metrics_options": {
"year_month_range": {
"start": {
"year": 2021,
"month": "AUGUST"
},
"end": {
"year": 2022,
"month": "JULY"
}
}
}
}
Response:
{
"results": [
{
"close_variants": [],
"keyword_metrics": null,
"text": "feuerschale kinder",
"_text": "text"
}
],
"aggregate_metric_results": null
}
I also requested historical metrics for the same keyword and the same location and language by calling deprecated Google Adwords API TargetingIdeaService with RequestType.STATS option.
Request selector:
{
"searchParameters": [
{
"xsi:type": "NetworkSearchParameter",
"networkSetting": {
"cm:targetGoogleSearch": true,
"cm:targetSearchNetwork": false,
"cm:targetContentNetwork": false,
"cm:targetPartnerSearchNetwork": false
}
},
{
"xsi:type": "RelatedToQuerySearchParameter",
"queries": [
"feuerschale kinder"
]
},
{
"xsi:type": "LocationSearchParameter",
"locations": [
{
"cm:id": "2276"
}
]
},
{
"xsi:type": "LanguageSearchParameter",
"languages": [
{
"cm:id": "1001"
}
]
}
],
"ideaType": "KEYWORD",
"requestType": "STATS",
"requestedAttributeTypes": [
"KEYWORD_TEXT",
"AVERAGE_CPC",
"TARGETED_MONTHLY_SEARCHES"
],
"paging": {
"startIndex": 0,
"numberResults": 500
}
}
Response:
{
"totalNumEntries": 1,
"entries": [
{
"data": [
{
"key": "KEYWORD_TEXT",
"value": {
"attributes": {
"xsi:type": "StringAttribute"
},
"Attribute.Type": "StringAttribute",
"value": "feuerschale kinder"
}
},
{
"key": "TARGETED_MONTHLY_SEARCHES",
"value": {
"attributes": {
"xsi:type": "MonthlySearchVolumeAttribute"
},
"Attribute.Type": "MonthlySearchVolumeAttribute",
"value": [
{
"year": 2022,
"month": 7
},
{
"year": 2022,
"month": 6
},
{
"year": 2022,
"month": 5
},
{
"year": 2022,
"month": 4
},
{
"year": 2022,
"month": 3
},
{
"year": 2022,
"month": 2
},
{
"year": 2022,
"month": 1
},
{
"year": 2021,
"month": 12
},
{
"year": 2021,
"month": 11
},
{
"year": 2021,
"month": 10
},
{
"year": 2021,
"month": 9
},
{
"year": 2021,
"month": 8
}
]
}
},
{
"key": "AVERAGE_CPC",
"value": {
"attributes": {
"xsi:type": "MoneyAttribute"
},
"Attribute.Type": "MoneyAttribute"
}
}
]
}
]
}
Could you please check what could possibly had happened?
Thank you in advance.
Kind regards,
David Mrnustik