Hi,

Thank you for reaching out to the Google Ads API support team.

Yes, you can get the search keywords and cost using the keyword_view report. I 
would suggest you try the below sample GAQL query :

SELECT ad_group_criterion.keyword.text,
  campaign.name,
  ad_group.name,
  ad_group_criterion.system_serving_status,
  ad_group_criterion.keyword.match_type,
  ad_group_criterion.approval_status,
  ad_group_criterion.final_urls,
  metrics.clicks,
  metrics.impressions,
  metrics.ctr,
  metrics.average_cpc,
 metrics.cost_micros FROM keyword_view
WHERE segments.date DURING LAST_7_DAYS

You can check this Query Cookbook to replicate the Google Ads UI screens via 
the Google Ads API.

Additionally, you can utilize the Query Builder and Query Validator to build 
and validate your queries. To retrieve Google Ads API entities and reporting 
data, you can use one of these methods like GoogleAdsService.SearchStream or 
GoogleAdsService.Search.

I hope this helps! Let us know if you have any further questions.

Thanks,

Google Ads API Team


Feedback
How was our support today?


[2025-07-29 12:28:51Z GMT] This message is in relation to case 
"ref:!00D1U01174p.!500Ht01sx4es:ref" (ADR-00320975)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/Yrykl000000000000000000000000000000000000000000000T05UO300OXyXEjIEQmiTPvgnRqOmrg%40sfdc.net.
  • Ge... 'Truong Giang Nguyen' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to