Hi Google Support Team,
We were using AdWords API TrafficEstimatorService.get() service to retreave Keyword estimates for a campaign. Now, we are trying to migrate this service to Google Ads API
by using KeywordPlanService.generateForecastMetrics(resourceName). The response of generateForecastMetrics result units are bit confusing since units specified
in document and printed statement in example program are not matching.
In Document:
ForecastMetrics
impressions DoubleValue
ctr DoubleValue
average_cpc Int64Value
clicks DoubleValue
cost_micros Int64Value
In Examples:
for (KeywordPlanKeywordForecast forecast : response.getKeywordForecastsList()) {
ForecastMetrics metrics = forecast.getKeywordForecast();
System.out.printf(
"%d Keyword ID: %s%n", ++i, forecast.getKeywordPlanAdGroupKeyword().getValue());
System.out.printf("Estimated daily clicks: %f%n", metrics.getClicks().getValue());
System.out.printf("Estimated daily impressions: %f%n", metrics.getImpressions().getValue());
System.out.printf(
"Estimated average cpc (micros): %d%n%n", metrics.getAverageCpc().getValue());
}
Here I want's to understand the average_cpc result value in micros or not? also clicks and impressions values are daily basis or not?
Thanks
Jubin