Hi Jinky,

Thank you for the instructions on how to enable the logging. I have done 
all the steps from your documentation 
here: 
https://developers.google.com/google-ads/api/docs/client-libs/php/logging?hl=en 
and logging to a file don't work.
 
This is how my logging part of ini configurations looks:
[image: CleanShot 2022-05-31 at 09.44...@2x.png]
I have tried to put relative and the absolute path to the file.log file 
created the file beforehand and made it chmod 777. None of those things 
worked.
Documentation also mentions that logger logs to STDERR by default, so I 
have tried to run 
```
php examples/Planning/GenerateKeywordIdeas.php --customerId 6685966372 
--locationIds=2203 --languageId=1021 --keywordTexts="volne otočky" 2> 
log.txt
```
but the log.txt file is empty, there is no logging enabled.

I'm trying this directly on this 
example 
https://github.com/googleads/google-ads-php/blob/main/examples/Planning/GenerateKeywordIdeas.php.
 
The example code also returns data for the 13th month of 2021

Can you please help?

Dne pondělí 30. května 2022 v 13:33:02 UTC+2 uživatel adsapi napsal:

> Hello David,
>
> Thank you for raising this concern to the Google Ads API Forum.
>
> To check this in our end, could you please provide 
> the complete API logs within the format of the request 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  and response 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  logs with request-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  and login-customer-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#cid>
>  that 
> generated on your end. This information will help our team to better check 
> the said issue. If you haven't yet, logging can be enabled by navigating to 
> the *Client libraries > Your client library (ex. Java) > Logging* 
> documentation, 
> which you can access from this link 
> <https://developers.google.com/google-ads/api/docs/client-libs?hl=en>. You 
> can provide it via the Reply* privately to author* option. If this option 
> is not available, then send it instead on this email address 
> googleadsa...@google.com.
>
> Best regards,
> [image: Google Logo] 
> Jinky 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bEzg7:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bbf2caca-ddee-4214-b12a-c7ea479c3391n%40googlegroups.com.
  • RE... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... David Pivoňka
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to