metrics.cost_micros from API differs to UI

27 views
Skip to first unread message

Sven Boels

unread,
Aug 30, 2022, 4:04:11 AM8/30/22
to Google Ads API and AdWords API Forum
Hello,

We want to get the costs of an ad per day in a specific Daterange using the following Query:

SELECT segments.date, ad_group_ad.ad.id, metrics.clicks, metrics.impressions, metrics.conversions, metrics.cost_micros, segments.ad_network_type, metrics.view_through_conversions, metrics.conversions_value FROM ad_group_ad WHERE segments.date >= '2022-08-01' AND segments.date <= '2022-08-31'

If we sum up the values to week costs, they always differ around 6.15 from the values of the UI output on ads.google.com and we cannot figure out where this difference is coming from.

Could you please assist?

Thanks,
Sven Boels

Google Ads API Forum Advisor

unread,
Aug 30, 2022, 5:46:47 AM8/30/22
to sven.b...@gmail.com, adwor...@googlegroups.com
Hi Sven,

Thank you for reaching us out. I am Sherwin from Google Ads API support team. I hope that you are doing well today.

Moving forward to your concern regarding costs that is not matched from UI and API. For us to further investigate the issue, could you please provide us the request and response logs with request ID and request header generated on your end? You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com. If you haven't enabled the logging yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link. Add to that, please provide us also the non-cropped/full screenshot of the UI where the value of the cost that you are trying to fetch is visible?

Kind regards,
Google Logo
Sherwin Vincent
Google Ads API Team
 


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