Hi Keji,

Thank you for getting back to us. I hope that you are doing well today.

To get the total spend of your campaigns and ad_groups, you may use the 
campaign report and ad_group report. And you may include the 
metrics.cost_micros to get the total spend of your campaigns and ad_group. You 
may check this guide on how to execute a report. You may try the query below to 
get the total spend of the campaigns:

{query: "SELECT campaign.id, campaign.name, campaign.resource_name, 
metrics.cost_micros FROM campaign", 
"summaryRowSetting":"SUMMARY_ROW_WITH_RESULTS"}

Please let us know if this works for you, and if not, please provide us the 
full screenshot of the UI, where you can see the actual report that you want to 
fetch using the API. You can provide it via Reply privately to the author 
option. If this option is not available, then send it instead on this email 
address googleadsapi-supp...@google.com.

Kind regards,

Sherwin Vincent
Google Ads API Team
ref:_00D1U1174p._5004Q2gQJyU:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/uR00G000000000000000000000000000000000000000000000RLUM0M00CfrQZ0f2QiyXb0V4WEVffw%40sfdc.net.
  • Pr... keji dianfei
    • ... keji dianfei
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... keji dianfei
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
            • ... keji dianfei

Reply via email to