The problem is you need convert 1 parameter in to DoubleValue. [adrian]
From: [email protected] <[email protected]> On Behalf Of Didier Roy Sent: Monday, September 9, 2019 2:49 PM To: AdWords API and Google Ads API Forum <[email protected]> Subject: Re: Google Ads PHP client library V2 fail get conversions and conversions_values from hotel_performance_view with Hello Sai the error is a PHP error. It occurs before the API call is done. There is no log of the request into the log. it seems to be a PHP client library bug. I have tried V2 and V1 and got the same error PHP Fatal error: Uncaught Exception: Expect float. in /home/metaio-dev-v5/google-ads-php/V2/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php:182 Stack trace: #0 /home/metaio-dev-v5/google-ads-php/V2/vendor/google/protobuf/src/Google/Protobuf/DoubleValue.php(61): Google\Protobuf\Internal\GPBUtil::checkDouble(Object(Google\Protobuf\DoubleValue)) #1 /home/metaio-dev-v5/google-ads-php/V2/vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php(1009): Google\Protobuf\DoubleValue->setValue(Object(Google\Protobuf\DoubleValue)) #2 /home/metaio-dev-v5/google-ads-php/V2/vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php(79): Google\Protobuf\Internal\Message->mergeFromArray(Array) #3 /home/metaio-dev-v5/google-ads-php/V2/vendor/google/protobuf/src/Google/Protobuf/DoubleValue.php(38): Google\Protobuf\Internal\Message->__construct(Array) #4 /home/metaio-dev-v5/google-ads-php/V2/src/Google/Ads/GoogleAds/V1/Common/Metrics.php(3960): Google\Protobuf\DoubleValue->__construct(Array) #5 /home/metaio-dev-v5/goo in /home/metaio-dev-v5/google-ads-php/V2/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php on line 182 Regards Didier Le lundi 9 septembre 2019 17:54:09 UTC+2, adsapiforumadvisor a écrit : Hello Didier, I am form the Google Ads API team. I was able to make successful API call with the search query you have shared without any errors. Could you please share the exact error message/error log you are facing to help further? Please use reply privately to the author option while sharing the information requested. Regards, Sai Teja, Google Ads API Team ref:_00D1U1174p._5001UHFxXv:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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]<mailto:[email protected]> To unsubscribe from this group, send email to [email protected]<mailto:[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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/7809a5c6-987a-49ad-a85b-387022440fd4%40googlegroups.com<https://groups.google.com/d/msgid/adwords-api/7809a5c6-987a-49ad-a85b-387022440fd4%40googlegroups.com?utm_medium=email&utm_source=footer>. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/BN7PR17MB2225DA3B96F7A12334565A8E80B70%40BN7PR17MB2225.namprd17.prod.outlook.com.
