Hi! I'm using Dynamic configuration instead Configuration file because it works fine for me ( attempt to build $googleAdsClient from file - returns error idk why). But I've stuck with enabling logger in this case. Here is my code and its return error "Call to undefined method Google\Ads\GoogleAds\Lib\V12\GoogleAdsClientBuilder::withlogFilePath()"
$oAuth2Credential = (new OAuth2TokenBuilder()) ->withClientId('****.apps.googleusercontent.com') ->withClientSecret('*****') ->withRefreshToken('*****') ->build(); $googleAdsClient = (new GoogleAdsClientBuilder()) ->withOAuth2Credential($oAuth2Credential) ->withDeveloperToken('****') ->withLoginCustomerId('****') ->withlogLevel('INFO') ->withlogFilePath('/home/bitrix/www/google.log') ->build(); Can you help me pls, what could be wrong? *P.S. *It does not return similar error on other fields like "logLevel" or ''proxy' (from this page https://developers.google.com/google-ads/api/docs/client-libs/php/configuration ) -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/f90177c1-b456-4da5-a870-947f065e6f5an%40googlegroups.com.