Hi Ruslan, Here are the prerequisites in Ads API to generate historical metrics. You can follow the sample code on the page and change the code explained in generate forecast metrics to generate historical metrics instead of forecast metrics. For our client libraries here's sample ad keyword plan code and here's sample Generate Forecast Metrics code that can be easily modified to return historical metrics instead.
I just now modified the sample Java generate forecast metrics code as explained above and turned on the logger with the logger set to 'DEBUG' and saw results per month in the response from the API. Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey Regards, Aryeh Baker Google Ads API Team ref:_00D1U1174p._5004Q2RA8Jm: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 [email protected] To unsubscribe from this group, send email to [email protected] 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 "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/cUQES000000000000000000000000000000000000000000000R2TOYM00qqGeuAvyT3-RRfDJnEDuQA%40sfdc.net.
