Hi Google Support Team,
The response of AdWords API(TrafficEstimatorService.get()) and Google Ads API (KeywordPlanServiceClient.generateForecastMetrics(keywordPlan)) results are not matching. Since, we were using min and max level StatsEstimate of KeywordEstimate. Here, we couldn't find StatsEstimate at min amd max level in Google Ads API GenerateForecastMetrics result set.
Google Ads API Request
---------------------
MethodName: google.ads.googleads.v2.services.KeywordPlanService/GenerateForecastMetrics
Headers: {developer-token=REDACTED, login-customer-id=xxxxxx, x-goog-api-client=gl-java/1.8.0_111 gapic/ gax/ grpc/}
Body: keyword_plan: "customers/xxxxx/keywordPlans/xxxxxx"
Google Ads API Response
----------------------
Headers: Metadata(content-disposition=attachment,content-type=application/grpc,request-id=NBAH1XTOOkTwYD4ixSWTSA,date=Mon, 14 Oct 2019 12:58:06 GMT,alt-svc=quic=":443"; ma=2592000; v="46,43",h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000)
Body: campaign_forecasts {
keyword_plan_campaign {
value: "customers/xxxxx/keywordPlanCampaigns/xxxxx"
}
campaign_forecast {
impressions {
value: 72205.015625
}
ctr {
value: 0.07671262323856354
}
average_cpc {
value: 882771
}
clicks {
value: 5539.0361328125
}
cost_micros {
value: 4889698340
}
}
}
ad_group_forecasts {
keyword_plan_ad_group {
value: "customers/xxxxx/keywordPlanAdGroups/xxxxx"
}
ad_group_forecast {
impressions {
value: 72205.015625
}
ctr {
value: 0.07671262323856354
}
average_cpc {
value: 882771
}
clicks {
value: 5539.0361328125
}
cost_micros {
value: 4889698340
}
}
}
keyword_forecasts {
keyword_plan_ad_group_keyword {
value: "customers/xxxx/keywordPlanAdGroupKeywords/xxxx"
}
keyword_forecast {
impressions {
value: 72188.4453125
}
ctr {
value: 0.07672300934791565
}
average_cpc {
value: 882693
}
clicks {
}
cost_micros {
value: 4888810264
}
}
}
AdWords API Response:
---------------------
KeywordEstimate{
estimateType=KeywordEstimate,
max=StatsEstimate{
averageCpc=Money{comparableValueType=Money, microAmount=4636341},
averagePosition=1.0,
clickThroughRate=0.02074329711753231,
clicksPerDay=0.20767304,
impressionsPerDay=11.012732,
totalCost=Money{comparableValueType=Money, microAmount=875312}},
min=StatsEstimate{
averageCpc=Money{comparableValueType=Money, microAmount=3793370},
averagePosition=1.1111111405455043,
clickThroughRate=0.016971787733255805,
clicksPerDay=0.1699143,
impressionsPerDay=9.010416,
totalCost=Money{comparableValueType=Money, microAmount=716164}}
}
Please advise us how can we acheive min and max level keyword_forecast results from the Google Ads API KeywordPlanService.
Thanks
-J