I am not getting errors in GoogleAdsException But recieves in ApiException

Viewed 170
1 Answers

it's been a while, but I just stumbled across this. I had implemented it exactly as Google suggested. It worked just fine.

Now it no longer works. The only difference is that now I don't have grpc and protobuf compiled as an extension for PHP, but have pulled the packages in via composer as PHP source. And look, there is only the GoogleApiException. However, this contains all the necessary data, only I have to write a different handling.

Conclusion: I suspect it's because the PHP packages via composer give different results than the compiled PHP extensions.

I can't tell more precisely at the moment, because I can't test compiled extensions here right now.

Related