The money fields are returned in micro starting with v201402 API:

https://developers.google.com/adwords/api/docs/guides/reporting-concepts?hl=lt 
(see section "Money fields in reports")

Starting with v201402, fields of type Money are returned in micro currency 
units (micros) by default, e.g.: $1.23 will come back as 1230000 (1.23 x 
1,000,000). The header value that determines whether money fields are 
returned in micros or whole dollar (1.23) currency units is 
returnMoneyInMicros; setting this to true (default) selects micros. Micro 
amounts always refer to the account's local currency.


Hope this helps.

Cheers.

--
Fabrice.
https://www.sunnyreports.com/

Le samedi 5 juillet 2014 18:59:29 UTC-7, stiggywigget a écrit :
>
> Cost field is a decimal value "7.44" in XML format for API v201309 (PHP)
> Cost field is a integer value "7440000" in XML format for API v201402 (PHP)
>
> I haven't found an explanation for this change.
>
> TIA.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to