Hello

I just installed google ads api with php library on a Windows 10 system.
I am using php 8.1.5 

I followed instructions 
here: https://github.com/googleads/google-ads-php/blob/main/README.md

I had to use composer with --ignore-platform-reqs because of some 
incompatibilities.

I do not have protocolbuffers dll - did not manage to compile it.

I get this error

*Fatal error*: Uncaught Error: Call to undefined method 
Monolog\Logger::getLevels() in 
C:\home\www\google-ads-php\src\Google\Ads\GoogleAds\Lib\V10\GoogleAdsCallLogger.php:64
 
Stack trace: #0 
C:\home\www\google-ads-php\src\Google\Ads\GoogleAds\Lib\V10\ServiceClientFactoryTrait.php(193):
 
Google\Ads\GoogleAds\Lib\V10\GoogleAdsCallLogger->__construct(Object(Monolog\Logger),
 
'info', 'googleads.googl...') #1 
C:\home\www\google-ads-php\src\Google\Ads\GoogleAds\Lib\V10\ServiceClientFactoryTrait.php(859):
 
Google\Ads\GoogleAds\Lib\V10\GoogleAdsClient->getGoogleAdsClientOptions() 
#2 C:\home\www\google-ads-php\src\index.php(336): 
Google\Ads\GoogleAds\Lib\V10\GoogleAdsClient->getGoogleAdsServiceClient() 
#3 C:\home\www\google-ads-php\src\index.php(325): campaigns_import() #4 
{main} thrown in 
*C:\home\www\google-ads-php\src\Google\Ads\GoogleAds\Lib\V10\GoogleAdsCallLogger.php*
 on 
line *64*

Any tips what can I do? Is it really impossible to use Google Ads API with 
PHP on Windows 10?

Thank you,
Gigel Chiazna

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/11bbdcb7-d1ec-4c56-8ea3-a0a63f109959n%40googlegroups.com.
  • Mo... Gigel Chiazna
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to