Why is `metrics.all_conversions` a `double` value?

36 views
Skip to first unread message

MS

unread,
Sep 13, 2025, 4:56:57 AMSep 13
to Google Ads API and AdWords API Forum
Hi,

according to the reference, `metrics.all_conversions` is " the total number of conversions."

Why is it a `double` value then? To me, "Number of" by definition is an integer value. However, examples of `metrics.all_conversions` show values like:

38.367286

137.864888

32.383272

14.208242


How can this be? What is the reason for the total number of conversions being a fraction?

Your answer is appreciated.

Google Ads API Forum Advisor

unread,
Sep 15, 2025, 2:22:23 AMSep 15
to axe...@axeldahmen.de, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

Kindly note that the metrics.all_conversions field represents the total number of conversions, regardless of their include_in_conversions_metric setting. Where it's data type is a double (a number with a decimal value) due to fractional attribution models, so you are getting the values in the fraction.

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-09-15 06:21:40Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u6b6E:ref" (ADR-00332675)



MS

unread,
Sep 15, 2025, 4:43:00 AMSep 15
to Google Ads API and AdWords API Forum
Thank you for your reply.

Still, I don't get it, I'm afraid. A conversion either takes place, or it doesn't. It's Boolean operation. The count of a Boolean operation can only be an integer value. So, what's causing the fractions?

Is there a documentation explaining how `metrics.all_conversions` is computed?

Your answer is appreciated.

Google Ads API Forum Advisor

unread,
Sep 15, 2025, 7:24:36 AMSep 15
to axe...@axeldahmen.de, adwor...@googlegroups.com
Hi,

Kindly note that you might notice that the values in the "Conversions," "All conversions," and "Cross-device conversions" columns are displayed with two decimal places. This is because certain attribution models assign fractional credit for a single conversion across multiple clicks, resulting in values like 0.33 or 0.50. Even if you're not using an attribution model that allocates fractional conversions, the data will still show two decimal places (e.g., .00) to maintain consistency and accuracy. I would recommend you to refer to this help center article for more detailed information.
 

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-09-15 11:23:58Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u6b6E:ref" (ADR-00332675)



MS

unread,
Sep 15, 2025, 10:39:23 AMSep 15
to Google Ads API and AdWords API Forum
Ah, now I see, the suggested article provided me with all the necessary information.

Thanks so much for your valuable and helpful answer!
Reply all
Reply to author
Forward
0 new messages