Closed publish-web closed 1 year ago
You don't need to remove the google-ads-php
directory.
Instead, what you should is just running composer update
from your project directory.
As the error message describes, you're requiring the library inside itself, which is wrong.
Thanks for your answer!
This is what I've done following your advice :
But it returns :
Nothing to install, update or remove
In the composer.json file, I can see "17.1" and this my current library version :
{
"require": {
"grpc/grpc": "^1.38",
"google/protobuf": "^3.17",
"googleads/google-ads-php": "^17.1"
}
}
But I'm trying to update to 21.0, should I edit this file manually?
Nope. Please don't cd into the google-ads-php
folder.
You should do this at your own project directory (the parent of vendor
)
I finished to figure it out on my own, it works now! Thanks for your help!
v17.1
V12
Ubuntu 21.10
Hi,
I have some issues when I try to update google-ads-php.
Here is what I do :
remove the vendor/googleads/google-ads-php/ directory
git clone https://github.com/googleads/google-ads-php.git
cd google-ads-php
composer require googleads/google-ads-php
And I have this error :
Can you help me please ?
Thank you!