Hi,
I am using the Java client library to get new OAuth access tokens as
needed. I understand that HTTP POST requests to get new OAuth tokens
contain sensitive information but was wondering if there was any way to
view the requests/responses. There are a few reasons why I'd like to do
this, for one I'd like to verify that the new OAuth scope is being used.
Also, last month there was a hiccup with OAuth (see Failed to refresh
access token. { "error" : "invalid_client" } on perfectly good client
<https://groups.google.com/forum/?fromgroups=#!topic/adwords-api/LuT8mGtYKTY>)
and the logs can help us figure out if future issues are on our side or
not.
I followed the instructions on the Java client library's Github page
<https://github.com/googleads/googleads-java-lib> to enable logging. I am
using log4j as the logging framework and used the sample log4j.properties
to set up the soapXmlLogger and requestInfoLogger. Other calls to the API
are logged but my calls to get new OAuth access tokens are not. It this by
design or is there something wrong with my log4j configuration? Is there
another logger that handles OAuth token requests?
Thanks,
Stacie
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.