Hello Carmela Yes, I am aware of the setting you describe. I have it in code already as request.HistoricalMetricsOptions = new HistoricalMetricsOptions() { IncludeAverageCpc = true }; However, this targets KeywordPlanIdeaService via KeywordPlanIdeaServiceClient keywordPlanIdeaService = client.GetService(Services.V11.KeywordPlanIdeaService);
And this is NOT what I'm asking about. I am asking about the KeywordPlanService via KeywordPlanServiceClient kpServiceClient = client.GetService(Services.V11.KeywordPlanService); So what I want is the Cpc in the historical results derived from the GenerateHistoricalMetrics() call on KeywordPlanService not on the KeywordPlanIdeaService. Kind regards, Bruce. On Thursday, July 21, 2022 at 2:29:49 PM UTC+8 adsapi wrote: > Hi Bruce, > > Thank you for raising this concern to the Google Ads API team. Informing > you that I had to delete your initial post as it contained your logs. > > Reiterating your post without the logs: > > " > > *I am making a request for historical data using the > GenerateHistoricalMetrics method on the Services.V11.KeywordPlanService > service. In the results that are returned the HasAverageCpcMicros field is > false and therefore there is nothing but zero in AverageCpcMicros. What do > I have to add to my KeywordPlan to enable this value? For reference, my > sources are publicly available on github > <https://github.com/axtens/Plugin_GoogleAds_Metrics>, and a full trace log > and the output JSON are attached.*" > > Moving forward to your concern, I can see that this is mainly about the > *GenerateHistoricalMetrics *method. That being said, upon checking, > please note to set this include_average_cpc > <https://developers.google.com/google-ads/api/reference/rpc/v11/HistoricalMetricsOptions?hl=en#include_average_cpc> > field > in your request. > > Regards, > [image: Google Logo] > Carmela > Google Ads API Team > > > ref:_00D1U1174p._5004Q2bmEgh:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/42cae272-379e-46a2-82b7-277f6ece2483n%40googlegroups.com.