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 V7. 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 perfect until last week)
ERROR: {
"message": "Request contains an invalid argument.",
"code": 3,
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": 0,
},
{
"@type": 0,
"data": [
{
"errorCode": {
"requestError": "UNKNOWN"
},
"message": " Version v6 is deprecated. Requests to this version will be blocked."
}
]
}
]
====================================================
Any Help is Appreciated.