Hi Radu, 

The OAuth setup 
<https://developers.google.com/adwords/api/docs/guides/first-api-call#set_up_oauth2_authentication>
 is 
only required to be done once (provided the tokens are valid and 
credentials don't change). If your application is making calls against 
user's account, the user will need to authorize the application once which 
will generate the authorization code during the OAuth setup. You might have 
used this authorization code to further generate the access token and 
refresh token. Access tokens are short lived and refresh tokens are long 
lived (usually years). Your application could save this refresh token and 
make use of it to make any futhure API calls. 

Once the above setup is done, if you make an API call to 
CustomerService.getCustomers() 
<https://developers.google.com/adwords/api/docs/reference/v201710/CustomerService#getcustomers>
 without 
specifying the client customerId in the header, the API will return all the 
customers directly accessible by the user authenticating the call. 

If you have any additional questions, could you please create a new thread?

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/43838f3d-3511-458f-a13e-2a843b88a286%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Re: how ... Radu Margina
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum

Reply via email to