Hi Jan,
Thanks for reaching out to us.
Could you please confirm whether you are using the AdWords API or the Google Ads API?
For the Adwords API, by setting the TargetingIdeaService.RequestType to STATS for the TargettingIdeaService, you can get the historic search volume for the specific keyword. The sample code in Java to fetch keywords related to a seed keyword is mentioned here. With a little modification as mentioned above, you would be able to use the sample program as per your requirements. You may check out this guide, and this section for more information on the parameters you can use.
For the Google Ads API, by using the KeywordPlanIdeaService.GenerateKeywordIdeas Ideas can be returned. For more information, please refer to this documentation.
Let us know if you have any further questions.
Regards,
 |
| Yasar |
| Google Ads API Team |
|
|
| |

ref:_00D1U1174p._5004Q2JCmBe:ref