Hi Johnny, 

Once the account owner provides the authorization, your application will be 
able to generate the OAuth tokens which is required to make API calls 
against their accounts. However, you will still need an approved developer 
token to make the API calls. You can create a production MCC account and 
then apply for the API access 
<https://developers.google.com/adwords/api/docs/guides/signup#step_2_apply_for_access_to_the_adwords_api>.
 
Once you have the approved token, the CustomerService.getCustomers() 
<https://developers.google.com/adwords/api/docs/reference/v201710/CustomerService#getcustomers>
 call 
without specifying the clientCustomerId in the header, will return all the 
accounts the authenticated user has access to. Are you facing any errors 
while setting up the AdWords API? If so, could you elaborate?

Client libraries that are supported by the AdWords API are the ones listed 
here <https://developers.google.com/adwords/api/docs/clientlibraries>. If 
you were looking for OAuth samples in Java client library, you can find 
them here 
<https://github.com/googleads/googleads-java-lib/tree/master/examples/adwords_axis/src/main/java/adwords/axis/auth>.
 
We don't have a Javascript client library. However, you could explore the 
option of using AdWords Scripts 
<https://developers.google.com/adwords/scripts/> which uses Javascript to 
get data from the AdWords.

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/19ef6eef-fc7e-494a-92be-2480f2cfd9e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • OAuth wi... Johnny
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum

Reply via email to