Hello Ronak,

I was able to add the same value in my testing and it worked. Could you
please share the SOAP logs(request and response
<https://developers.google.com/adwords/api/docs/guides/call-structure#response>)
of the operation you are performing without redacting any information to
see if everything is okay? You could follow the instruction shown in this
guide <https://github.com/googleads/googleads-php-lib#logging> to enable
logging. You could use reply privately to the author option while sharing
the information requested.

Regards,
Sai Teja, AdWords API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 01/15/19 08:12:14 [email protected] wrote:

Hello,

We are trying to set the daily budget via Adwords API but api call is
getting failed.

Here are below Details

$daily_budget = 33.51;
$micro_amount = (float) ($daily_budget  * 1000000);

so if we convert to micro amount it becomes (33.51 * 1000000) = 33510000

But API throws error [BudgetError.NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT @
operations[0].operand.amount].We also type casted to float but still gives
same problem.Please check below Money object.

object(Google\AdsApi\AdWords\v201809\cm\Money)#790 (3) {

  ["microAmount":protected]=>

  float(33510000)

  ["ComparableValueType":protected]=>

  NULL


["parameterMap":"Google\AdsApi\AdWords\v201809\cm\ComparableValue":private]=>

  array(1) {

    ["ComparableValue.Type"]=>

    string(19) "ComparableValueType"

  }

}

We are using PHP client library v201809 and PHP version 7

Please check

Thanks,
Ronak

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/f0abd617-d72f-4099-81c9-9d91b4a76e9e%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/f0abd617-d72f-4099-81c9-9d91b4a76e9e%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/00d12js9tg0000018j85i4005122d6y6gmj8c1o6so30c1g68q3ge9h%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • Adwords... Ronak Shah
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... Ronak Shah
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to