Hi,
Thank you for reaching out to the Google Ads API support team.
Based on the provided information, I understand that you are trying to retrieve campaigns and their corresponding keywords and keyword matching options. You can retrieve the requested data using the keyword_view resource. Also, you can refer to this sample query to retrieve the same.
SELECT campaign.id, keyword_view.resource_name, campaign.keyword_match_type, ad_group_criterion.keyword.match_type, ad_group_criterion.keyword.text FROM keyword_view.
You can try making a request using the Search or SearchStream by passing the customer Id. Also, you can use Query Builder to create your query and Query Validator to validate your query.
I hope it helps!![]() |
Google Ads API Team |
[2025-08-28 11:25:13Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u5HMJ:ref" (ADR-00331139)