Hi,

We are planing to use google-ads-java client library to migrate from Google 
Adwords API to Google Ads API.

I have all the required values of client_id,client_secret,refresh token and 
access token etc. Whats the best way to set Oauth credentials using java 
client.
I have already gone though test examples which creates GoogleAdsClient from 
properties file but this doesn't fit my requirement as we access different 
MCCs in same platform.

what are the best way to create credentials object (please be specific to 
the java class to be used) and use it with GoogleAdsClient.
GoogleAdsClient googleAdsClient = 
GoogleAdsClient.newBuilder().setCredentials(theCredentials)

Thanks
Alok

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/f3cccc08-6e1b-4db3-b278-17ff9960badf%40googlegroups.com.

Reply via email to