Hi
<https://stackoverflow.com/posts/70802009/timeline>

I am upgrading from googleAdWords API to googleAds API. I am getting a 
fatal error in the example code of class GetKeywordStats.php:

*PHP Fatal error: Uncaught TypeError: Argument 1 passed to 
Google\ApiCore\Transport\Grpc\ServerStreamingCallWrapper::__construct() 
must be an instance of Grpc\ServerStreamingCall, instance of 
Google\Ads\GoogleAds\Lib\V9\GoogleAdsLoggingServerStreamingCall given, 
called in /var/www/vendor/google/gax/src/Transport/GrpcTransport.php on 
line 208 and defined in 
/var/www/vendor/google/gax/src/Transport/Grpc/ServerStreamingCallWrapper.php:49 
Stack trace: #0 
/var/www/vendor/google/gax/src/Transport/GrpcTransport.php(208): 
Google\ApiCore\Transport\Grpc\ServerStreamingCallWrapper->__construct() #1 
/var/www/vendor/google/gax/src/GapicClientTrait.php(608): 
Google\ApiCore\Transport\GrpcTransport->startServerStreamingCall() #2 
/var/www/vendor/google/gax/src/Middleware/CredentialsWrapperMiddleware.php(61): 
Google\Ads\GoogleAds\V9\Services\Gapic\GoogleAdsServiceGapicClient->Google\ApiCore{closure}()
 
#3 /var/www/vendor/google/gax/src/Middleware/FixedHeaderMiddleware.php(66): 
Google\A in 
/var/www/vendor/google/gax/src/Transport/Grpc/ServerStreamingCallWrapper.php 
on line 49*


I had installed Grpc extension in PHP following this link:

https://cloud.google.com/php/grpc

What could be?

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cacb00ed-818f-4e05-8526-fcf8112d2caen%40googlegroups.com.
  • ph... FMore
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to