You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi - It looks like it is related to JSON decoding so I believe you are running with REST transport? If it is the case, could you try enabling gRPC following the instruction in the requirements session of the getting started documentation and let us know if it fixes the problem?
I think you are experiencing the same issue as #105.
You previously said that you use the latest version of the library which is great but I see from the logs that you still use the V1 namespace though.
I advice you to update your code to use the V2 namespace instead as it comes with several improvements and bug fixes including one that should fix the issue you are describing here.
Hi - It looks like it is related to JSON decoding so I believe you are running with REST transport? If it is the case, could you try enabling gRPC following the instruction in the requirements session of the getting started documentation and let us know if it fixes the problem?
Originally posted by @PierrickVoulet in #222 (comment)
I'm still having issues :/
Fatal error: Uncaught Exception: Expect float. in ../vendor/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php:182
Stack trace:
#0 ..vendor/google/protobuf/src/Google/Protobuf/DoubleValue.php(61): Google\Protobuf\Internal\GPBUtil::checkDouble(Object(Google\Protobuf\DoubleValue))
#1 ..vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php(1009): Google\Protobuf\DoubleValue->setValue(Object(Google\Protobuf\DoubleValue))
#2 ..vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php(79): Google\Protobuf\Internal\Message->mergeFromArray(Array)
#3 ../vendor/google/protobuf/src/Google/Protobuf/DoubleValue.php(38): Google\Protobuf\Internal\Message->__construct(Array)
#4 ../src/Google/Ads/GoogleAds/V1/Common/Metrics.php(184 in ../vendor/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php on line 182
The text was updated successfully, but these errors were encountered: