Why user need to create OAuth credentials, user is not IT guy to now how to 
do this, user wants to login with google and see their AdWords accounts in 
my app. 
And I already have user accessToken, user already authorized my app to 
manage his AdWords account, this is not enough to get userCustomerID ?

miercuri, 23 noiembrie 2016, 21:43:36 UTC+2, Vishal Vinayak (Adwords API 
Team) a scris:
>
> Hi,
>
> To enable users to see their campaign data using your tool, you would need 
> to follow these steps (assuming you already have a valid developer token):
>
> 1) User would need to create OAuth2 credentials 
> <https://developers.google.com/adwords/api/docs/guides/first-api-call#set_up_oauth2_authentication>
>  using 
> one of the email addresses which is a valid user on the AdWords account 
> that they are trying to target (and not the manager account). 
>
> 2) User configures the OAuth2 credentials information (client ID, 
> clientSecret etc.) in your tool.
>
> 3) Using the information provided by the user and the developer token 
> (that you already have), you can make a SOAP call to the AdWords API using 
> one of our client libraries 
> <https://developers.google.com/adwords/api/docs/clientlibraries> or 
> manually using this guide 
> <https://developers.google.com/adwords/api/docs/guides/call-structure>. 
> To fetch the the clientCustomerId (i.e. the 10 digit target AdWords account 
> ID) of the user you can use the CustomerService as explained in one of my 
> previous responses.  
>
> 4) Since you have the clientCustomerId of the target AdWords account, you 
> can use something like a CampaignService 
> <https://developers.google.com/adwords/api/docs/reference/v201609/CampaignService>
>  to 
> fetch campaigns associated with that account.
>  
> Just to reitreate, AdWords API does not support username/email and 
> password based authentication. Please revert if you have more questions.
>
> Regards,
> Vishal, 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 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/96348121-d974-4b53-9c27-2435670206b1%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