Campaign Total Cost

109 views
Skip to first unread message

Ludwik Jasiurski

unread,
Jul 22, 2021, 6:25:28 AM7/22/21
to AdWords API and Google Ads API Forum
Hi,
I'm using client V8 and trying to get a total cost per campaign (getting data from keyword_view).

I have tried metrics.cost_micros but that don't seem to return a value for every row ($googleAdsRow). Am I missing something here? Does it require adding up all of the costs associated with particular campaign to get campaign total cost?

Thanks,
Ludwik

Google Ads API Forum Advisor

unread,
Jul 23, 2021, 5:58:03 AM7/23/21
to ludwik...@intelligence22.com, adwor...@googlegroups.com

Hi Ludwik,

Thanks for reaching out to us.

The metrics.cost_micros in the campaign report should return the value of that specific row or for that specific campaign.id. That said, if you are encountering discrepancies, could you provide examples and any Google Ads UI Campaign view screenshot that does not equal the cost returned from the API?

Also, you may provide us with GAQL, complete request and response logs with the request-id so that we can take a closer look. You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Regards,
 

Google Logo
Yasar Ramjan Makandar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2JCnes:ref
Reply all
Reply to author
Forward
0 new messages