Hi Filip, If you want to get the ID of a keyword by keyword text, you can use the following query:
SELECT ad_group_criterion.criterion_id, ad_group_criterion.keyword.text, ad_group_criterion.type FROM ad_group_criterion WHERE ad_group_criterion.type = 'KEYWORD' AND ad_group_criterion.keyword.text = 'Your Keyword Text' You can use the Query Builder for help with constructuring queries. Regards, Matt Google Ads API Team Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey Matt Google Ads API Team ref:_00D1U1174p._5004Q2R9C3r: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 "AdWords API and Google Ads 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/NF_-O000000000000000000000000000000000000000000000R2O7IU00OEA7SMJ9SsOOpufuak7cJg%40sfdc.net.