Hello,

Could you please share the SOAP logs(request and response) of the operation 
you are performing without redacting any information. You could enable 
logging by following the instructions shown in this README.md 
<https://github.com/googleads/googleads-java-lib/blob/master/README.md#how-do-i-enable-logging>
 file 
for Java client library, for other client libraries refer here 
<https://developers.google.com/adwords/api/docs/clientlibraries>. You could 
use reply privately to the author option while sharing the details 
requested.

Regards,
Sai Teja, AdWords API Team.

On Friday, November 9, 2018 at 6:58:57 AM UTC-5, mubbashar husain wrote:
>
> Hi,
>
> I am confused about converting currency value to Adwords Money Object
>
> To convert USD into Money I am using this code
>
> $amount = round($newCpc * 1000000);
> $Money = new cm\Money(null, $amount);
>
> I have an account having currency in "Colombian Peso" COP
>
> According to documentation 
>
> https://developers.google.com/adwords/api/docs/appendix/codes-formats#currency-codes
>
> The minimum unit is 1000000 but when I multiply this and send API call I 
> got the error
>
> [trigger:protected] => The bid of 125.400000 must be a whole multiple of 
> 1.000000
>                     [errorString:protected] => 
> BiddingErrors.BID_TOO_MANY_FRACTIONAL_DIGITS
>                     [ApiErrorType:protected] => BiddingErrors
>
>
> So can you please help me in getting the money value for any country. 
> Right now I am not able to convert it as this is very confusing.
>
>
> The table on the above link show 10000 for USD but here it says  One 
> million is equivalent to one unit
>
> [image: currency.png]
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ed334285-7a64-499f-8419-90f193274325%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • How to Convert curr... mubbashar husain
    • Re: How to Con... 'Teja Makani' via AdWords API and Google Ads API Forum

Reply via email to