bash-3.2$ cd google-ads-php
bash-3.2$ composer install
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires PHP extension ext-grpc * but it is missing from your system. Install or enable PHP's grpc extension.
Problem 2
- Root composer.json requires PHP extension ext-protobuf * but it is missing from your system. Install or enable PHP's protobuf extension.
To enable extensions, verify that they are enabled in your .ini files:
- /usr/local/etc/php/7.4/php.ini
- /usr/local/etc/php/7.4/conf.d/ext-opcache.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-grpc --ignore-platform-req=ext-protobuf` to temporarily ignore these required extensions.
i.e Alternatively, you can run Composer with `--ignore-platform-req=ext-grpc --ignore-platform-req=ext-protobuf` to temporarily ignore these required extensions
Hello Rten,
Thank you for reaching out to Google Ads API support. Could you send us the complete request and response logs of API communication that returns this error? The request and response appears similar to the JSON Mappings in our REST documentation. Our client libraries have loggers with logging instructions, to see these instructions you can click on the client library you use in the sidebar of our client library guide and click on "Logging". Setting the log level to 'DEBUG' will get the requested log.
Best regards,
![]() |
|
||||