I have a user signing google login and this produces AccessToken and a RefreshToken.
Currently the user enters his AdWords account id and together with AccessToken and RefreshToken, api calls are being made. I need to changes this so that the user does not enter his AdWords account id, instead I expect to call ListAccessibleCustomers() using only the AccessToken and a RefreshToken and obtain the user's AdWords account id from the API response. My problem is that I cant understand how to construct GoogleAdsClient() object so that I can instantiate it with the given AccessToken and a RefreshToken? CustomerServiceClient customerService = new GoogleAdsClient().GetService(Services.V5.CustomerService); var customerResourceNames = customerService.ListAccessibleCustomers(); -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/faebfccd-88eb-4286-92ce-4b0fe26c6a1bn%40googlegroups.com.