Hi Vaibhav, 

You need to generate the OAuth2 credentials for the client account by 
following the instructions provided here 
<https://developers.google.com/adwords/api/docs/guides/authentication#configure_and_use_a_client_library>.
 
Once you have these OAuth2 credentials, you can use 
CustomerService.getCustomers() 
<https://developers.google.com/adwords/api/docs/reference/latest/CustomerService>,
 
without setting the clientCustomerId header, to retrieve the AdWords 
account directly accessible by the authenticated user. This way, using the 
client's OAuth2 credentials, you can get the clientCustomerId 
programmatically. You can then issue an invitation to the client account 
from your manager account and accept the invitation from the client account 
as I described earlier. You should ensure that you use your MCC's OAuth2 
credentials 
<https://developers.google.com/adwords/api/docs/guides/authentication> when 
you extend the invitation and the client account's OAuth2 credentials when 
you accept the invitation.

Regards,
Bharani Cherukuri
AdWords API Team

On Tuesday, August 29, 2017 at 6:36:05 AM UTC-4, n wrote:
>
> Hi,
>
>         I have MCC accounts. and I have more than one client account. 
> which is not linked my MCC account.
>         Now i want to linked those client account to my MCC account using 
> by Adwords api.
>         But, i don't know how to link account using api?
>         please give me any suggestion.
>
> Thanks.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9f4a09b8-8f90-47a5-9525-c07cbdc0e605%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to