Hi,
Thank you for reaching out to the Google Ads API support team.
By reviewing your query, I understand that you need guidance for retrieving the metrics using the Google Ads API. Kindly note that as per your UI screenshot, I understand that these metrics are from the overview page in the Google Ads account. I would recommend you to kindly refer to the
campaign resource to retrieve the metrics as per your requirement. Also, please find the sample GAQL query to retrieve the metrics as per your screenshot:
"query": "SELECT metrics.clicks, metrics.cost_micros, metrics.conversions FROM campaign",
"summaryRowSetting": "SUMMARY_ROW_ONLY"
You can use the "
Method: customers.googleAds.search" by passing the client customer ID, developer token and GAQL query for retrieving the data as per your requirement. 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.!5004Q02rzwLy:ref" (ADR-00227213)
Thanks,
 |
Google Ads API Team |
