Geographic Cost value is off

71 views
Skip to first unread message

Todd Evans

unread,
Mar 16, 2021, 3:06:45 PM3/16/21
to AdWords API and Google Ads API Forum
We are currently running the following gaql to acquire Geographic information.
The Cost data(metrics.cost_micros) returned from this gaql needs to be divided by 1,000,000 to get the "Real" Cost.  We feel this needs to be corrected in the API.

SELECT campaign.name ,ad_group.name, geographic_view.location_type ,segments.ad_network_type ,segments.geo_target_city ,segments.geo_target_state ,geographic_view.country_criterion_id ,segments.geo_target_metro ,metrics.impressions, metrics.clicks, metrics.cost_micros FROM geographic_view  WHERE segments.date BETWEEN '2019-01-01' AND '2019-12-31' 


See attached screen shot of some data returned by the API






GeographicAPI.gif
Message has been deleted
Message has been deleted
Message has been deleted

AdWords API and Google Ads API Forum

unread,
Mar 19, 2021, 2:51:06 PM3/19/21
to AdWords API and Google Ads API Forum

Reposting the last inquiry from the forum as it wasn't routed to our support queue.


Thanks,
Lakshmi, Google Ads API Team

Google Ads API Forum Advisor Prod

unread,
Mar 22, 2021, 10:23:55 AM3/22/21
to adwor...@googlegroups.com
Hello,

Money fields in the API reports return as microunits, so you will need to divide these values by 1,000,000 to get the correct amount. 

Regards,
Anthony

Google Logo
Anthony
Google Ads API Team
 


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