'Cost' Metric

31 views
Skip to first unread message

ach...@stormdigital.nl

unread,
Aug 23, 2017, 4:33:15 AM8/23/17
to AdWords API Forum
Hi,

I'm using the report functionality from the Adwords API. But have some difficulties understanding the Cost Metric. Let's say: 

My cost from the last year is € 10.500,93 
The API will return 10500930000 

I have checked several accounts, but all coming back with extra zeros at the end and missing decimals/comma. How is this number being built, and how to reverse it to the right number.

Thanks in advanced!

Sincerely,
Achmad Mardjoeki


ach...@stormdigital.nl

unread,
Aug 23, 2017, 4:58:47 AM8/23/17
to AdWords API Forum
I think I've figured it out. The cost has been multiplied with a million. So I've to divide the number with a million to get the right Cost. 

Can someone confirm this?

Op woensdag 23 augustus 2017 10:33:15 UTC+2 schreef ach...@stormdigital.nl:

Vincent Racaza (AdWords API Team)

unread,
Aug 23, 2017, 5:21:42 AM8/23/17
to AdWords API Forum
Hi Achmad,

Yes, you are correct. All metrics (e.g. Cost) with Money type are represented in micros in the AdWords API. You can just divide the value by 1000000 to get the actual value same as the AdWords UI.

Thanks,
Vincent
AdWords API Team
Reply all
Reply to author
Forward
0 new messages