Hi,
Thank you for reaching out to the Google Ads API support team.
Upon checking your concern, I understand that you are looking for guidance to retrieve the cost and click data from an ad_group using the Google Ads API. I would recommend you to kindly refer to the
ad_group resource to retrieve the data within the Google Ads API. Please find the sample GAQL query as per your requirement:
SELECT ad_group.id, ad_group.name, ad_group.status, metrics.cost_micros, metrics.clicks FROM ad_group
You can utilize the
search or
searchStream methods and try making the API request to retrieve the cost and click data. Additionally, you can utilize the
Google Ads Query Builder and
Query Validator to build and validate the queries for retrieving the data from the Google Ads API.
This message is in relation to case "ref:!00D1U01174p.!5004Q02tPHhi:ref" (ADR-00232277)
Thanks,
 |
Google Ads API Team |
