Your client library and Google Ads API versions:
Client library version: v11.0.0
Google Ads API version: V7
Your environment:
php Version - v7.3.28
Windows - 10
protobuf - v3.18.0
grpc - v1.39.0
Type of Transport - rest
Description of the bug:
I had to upgrade to google-ads-php (https://github.com/googleads/google-ads-php) Version 11 as the google ads api V6 was deprecated and throwing error.
google-ads-php supports google ads api V8. While we tried executing the script I get the following error.
ERROR: Could not construct ApplicationDefaultCredentials {"userId":1,"exception":"[object] (Google\\ApiCore\\ValidationException(code: 0): Could not construct ApplicationDefaultCredentials at D:\\xampp\\htdocs\ eseller-home\\vendor\\google\\gax\\src\\CredentialsWrapper.php:267)
Previous Error with V6 (It was working perfectly until last week)
ERROR: { "message": "Request contains an invalid argument.", "code": 3, "status": "INVALID_ARGUMENT", "details": [ { "@type": 0, "data": "type.googleapis.com\/google.ads.googleads.v6.errors.GoogleAdsFailure" }, { "@type": 0, "data": [ { "errorCode": { "requestError": "UNKNOWN" }, "message": " Version v6 is deprecated. Requests to this version will be blocked." } ] } ] }
Please help us to fix this issue. Thanks
|
||||||