Hi Hüseyin,
You may use the ConstantDataService.getUserInterestCriterion which will return the User Interest Criterion as in the screenshot shared. You may then use the Criteria Id to target the audience to a campaign. You may refer to this code sample in Java on adding targeting criteria to a campaign. Let me know if you have any other questions.
Regards,
Bharani, Google Ads API Team