Hello,
Greetings from the Google Ads API Support team.
Allow me to address your concerns below:
1. How can I get the "Total Cost" data of a campaign and adgroup (tell for each case). Some are suggesting to use "metrics.cost_micros", but if this is the case then what is the currency of the value returned by this.
2. How can I get the segment name of my campaign. For example- the segment name of some campaigns are - "Capital Markets", "Mutual Funds", "Corporate Issuer" etc.
3. How can I pull the "Platform" field form my campaign. Although each campaign on google ads has the "Google" platform only, but is there any query to pull this specific information.
I hope some information was helpful, I look forward to hearing back from you.
![]() |
Google Ads API Team |
Hi,
Thank you for responding back.
I understand that the screenshots you provided contain the fields you want to pull via API. However, as requested in our previous response, would you be able to share a screenshot of the Google Ads UI or dashboard showing the customer ID and data that you want to retrieve? Asking this since the API mirrors the UI and so we could provide more appropriate guidance on the corresponding report or query for pulling the data.
You may send the full non-redacted screenshot via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.
Looking forward to your response.