Hi Suresh,
As you have already seen that the returned object KeywordEstimate in the response from a TrafficEstimatorService request will only contain estimates at the keyword level, so it won't give you the headings you see in the Google Ads UI. Please check out this guide for Estimating Traffic for the overview of the service and mapping between API and Keyword Planner tool.
Thanks and regards,
Xiaoming, Google Ads API Team
Hi Suresh,
1. To retrieve traffic estimates, you must either specify existing campaigns and ad groups, or configure proposed campaigns and ad groups by setting the CampaignEstimateRequest and AdGroupEstimateRequest.
2. Create a mock campaign means if you don’t have pre-existing campaigns and ad groups you have to create them by configuring proposed campaigns and ad groups by setting the CampaignEstimateRequest and AdGroupEstimateRequest.
3. The value for MaxCPC in AdGroupEstimateRequest needs to be specified manually. If not specified, there won’t be any value for the MaxCPC in AdGroupEstimateRequest.
4. You won’t be able to set existing adgroup id and campaign id in Google Ads UI keyword planner tool.
5. Please follow this guide to submit the request to get the traffic estimates.
6. The returned object KeywordEstimate in the response from a TrafficEstimatorService request will only contain estimates at the keyword level, so it won't give you the headings you see in the Google Ads UI. The calculation of the avg based on the max and min is not accurate.
7. Please refer to this code example on how to generate results in CSV format.
Thanks and regards,
Xiaoming, Google Ads API Team