We would like to inform you about the recent update in the Ad Traffic By Keywords endpoint of Google Keyword Data API.
Unfortunately, Google announced that starting from June 1, Google Ads API no longer supports keyword forecasts, which we used to generate metrics such as "impressions"
, "ctr"
, "average_cpc"
, "cost"
, and "clicks"
etc for each keyword in the Ad Traffic By Keywords endpoint’s response.
Instead, Google Ads now provides metrics for the entire campaign, which means that data will be returned for all keywords specified in the request at once.
Following this, we have adapted the API response. Please note that Google Ad Traffic By Keywords now returns data for the entire campaign (all keywords specified when setting a task). The structure of the response remains the same, but now we return a short response with cummulative data.
{
"version": "0.1.20210917",
"status_code": 20000,
"status_message": "Ok.",
"time": "5.5458 sec.",
"cost": 0.075,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"id": "10261133-1535-0094-0000-29713dd40417",
"status_code": 20000,
"status_message": "Ok.",
"time": "5.4410 sec.",
"cost": 0.075,
"result_count": 1,
"path": [
"v3",
"keywords_data",
"google_ads",
"ad_traffic_by_keywords",
"live"
],
"data": {
"api": "keywords_data",
"function": "ad_traffic_by_keywords",
"se": "google_ads",
"location_code": 2840,
"language_code": "en",
"bid": 999,
"match": "exact",
"keywords": [
"seo marketing",
"best seo tools"
]
},
"result": [
{
"keyword": null,
"location_code": 2840,
"language_code": "en",
"date_interval": "next_month",
"search_partners": false,
"bid": 999,
"match": "exact",
"impressions": 15067.28,
"ctr": 0.0402,
"average_cpc": 433.44,
"cost": 262417.23,
"clicks": 605.43
}
]
}
]
}
Please, make the necessary adjustments on your end to meet this Google Ads update.
Thank you for your understanding and cooperation. Don’t hesitate to reach out via our support chat if you have any questions.