Hi,
Thank you for reaching out to Google Ads API Forum.
To answer you in general, the metrics.all_conversions_value (https://developers.google.com/google-ads/api/fields/v13/metrics#metrics.all_conversions_value) has DOUBLE as data type. You may refer to this guide (https://developers.google.com/discovery/v1/type-format) regarding Type and format summary. As stated in the guide, the double is a type value number floating point which means this value can contain decimal points.
Let us know if you have further questions.
Regards,
![]() |
Google Ads API Team |
Hi Emiko,
For your question 3, because a double can store values in range 4.9e-324 (Double.MIN_VALUE) to 1.7976931348623157e308 (Double.MAX_VALUE), and its exponential form is the internal one used by every programming language (at least CPUs "sees" floats this way).
However, please use the workaround to convert from exponential format to regular numeric format. Let us know if you have any additional questions.
Regards,
Hi,
Thanks for getting back to us.
Please note that Fields of type Money are returned in micro currency units (micros) in the API. To have the same metrics.all_conversions_value as the console/UI you could simply divide the cost by 1000000.
Furthermore, if you have questions regarding the Google Ads UI, you can reach out to the Google Ads product support team(https://support.google.com/google-ads/gethelp) for these kinds of concerns.
Links included in this email: