Hi. I had the same problem (PHP 7.4) and I realized that the error is from
the "method_exists" function of
google-ads-php/vendor/grpc/grpc/src/lib/BaseStub.php.
I solved it by adding the namespace in the string "ChannelCredentials".
Old: method_exists('ChannelCredentials', 'isDefaultRootsPemSet')
New: method_exists('Grpc\ChannelCredentials', 'isDefaultRootsPemSet')
Line 46, probably.
Hope this helps,
Fernanda Rebelatto
Em quinta-feira, 10 de fevereiro de 2022 às 02:48:43 UTC-3, adsapi escreveu:
> Hi,
>
> I'm also from Google Ads API Team. Allow me to provide support here.
>
> Upon checking the information and details mentioned on this thread, I can
> see that the issue is more specific to the client library rather than
> Google Ads API. However, I would suggest you reach out to the author of the
> PHP client library to confirm your clarification as his issue is more
> specific to the client library. You can reach out to them via the PHP
> issues tracker on github
> <https://github.com/googleads/google-ads-php/issues> to get further
> assistance here as they are more equipped to this concern.
>
> Best regards,
>
> [image: Google Logo]
> Jinky
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2W5dCK: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]
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
"Google Ads API and AdWords 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/2a17a778-b5be-47db-89da-cc1741a2ce88n%40googlegroups.com.