v201509 Conversions and AllConversions are double and not long?

77 views
Skip to first unread message

AdWordsApiUser

unread,
Nov 10, 2015, 6:04:59 AM11/10/15
to AdWords API Forum
In v201509, Conversions and AllConversions are double and not long. ConvertedClicks though is still double. Is this intentional? Is there a possibility of a non integral response?

Thanks

AdWordsApiUser

unread,
Nov 10, 2015, 6:17:17 AM11/10/15
to AdWords API Forum
Correction:
Conversions and AllConversions are double.
ConvertedClicks though is still long.

Josh Radcliff (AdWords API Team)

unread,
Nov 10, 2015, 2:00:11 PM11/10/15
to AdWords API Forum
Hi,

This is intentional. ConvertedClicks (like Clicks) is still a long, however, since there's no concept of a "partial click".

Thanks,
Josh, AdWords API Team

AdWordsApiUser

unread,
Nov 10, 2015, 3:01:08 PM11/10/15
to AdWords API Forum
Hi Josh,

Thanks for your reply. My understanding was that conversions too like clicks could not be partial, and would always be whole numbers. Is that not the case anymore? In our code, we treat these as whole numbers - should we change that to ensure correctness? 

Regards
MG 

Josh Radcliff (AdWords API Team)

unread,
Nov 11, 2015, 10:46:39 AM11/11/15
to AdWords API Forum
Hi MG,

I'd recommend changing your app to handle decimals. At the moment, it's my understanding that these values will be whole numbers, but given that the data type changed to Double, that will most likely change at some point in the future.

Thanks,
Josh, AdWords API Team

Robert Rodakowski

unread,
Nov 20, 2015, 11:00:59 AM11/20/15
to AdWords API Forum
Hi MG,

As described here double format is a preparation to more sophisticated attribution models.

Regards,
Robert.
Reply all
Reply to author
Forward
0 new messages