In my project, we are not using app.config, instead we are initializing the
config properties while declaring the AdWords User like this.
_config = new AdWordsAppConfig();
_config.UserAgent =
configData[Constants.Westpac.Social.GOOGLE_USER_AGENT].ToString();
_config.ClientCustomerId =
configData[Constants.Westpac.Social.GOOGLE_CLIENT_CUSTOMER_ID].ToString();
_config.DeveloperToken =
configData[Constants.Westpac.Social.GOOGLE_DEVELOPER_TOKEN].ToString();
_config.OAuth2ClientId =
configData[Constants.Westpac.Social.GOOGLE_OAUTH2_CLIENT_ID].ToString();
_config.OAuth2ClientSecret =
configData[Constants.Westpac.Social.GOOGLE_OAUTH2_CLIENT_SECRET].ToString();
_config.OAuth2RefreshToken =
configData[Constants.Westpac.Social.GOOGLE_OAUTH2_REFRESH_TOKEN].ToString();
_config.OAuth2Mode = OAuth2Flow.APPLICATION;
//Initialize the AdWordsUserListService
_adWordUser = new AdWordsUser(_config);
_adWordUserListService =
(AdwordsUserListService)_adWordUser.GetService(AdWordsService.v201605.AdwordsUserListService);
Now i want to log the SOAP Request and Reponse of AdWords API. I know, that
we can log by adding few keys and listeners to App.config. But we do not
want to use app.config. Is there any possibility to log them using code.
Also, i want to log to database. Any examples would be helpful.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/340e57bd-c897-4b9d-90f2-8970e43003bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.