Hi, 

If an email address is not already associated with an AdWords account, 
you'll not be able to create an account using its OAuth2 credentials. If 
this email address is associated with a Manager account, you'll be able to 
create new accounts and link to other accounts using ManagedCustomerService 
<https://developers.google.com/adwords/api/docs/reference/v201605/ManagedCustomerService>.
 
Please see the Managing Accounts guide 
<https://developers.google.com/adwords/api/docs/guides/accounts-overview#managedcustomerservice>
 for 
more information on using this service. The CreateAccount 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201702/accountmanagement/CreateAccount.java>
 Java 
example shows how to create an account under an AdWords manager account. 
Example code in other languages is available here 
<https://developers.google.com/adwords/api/docs/clientlibraries>.

To link a manager account and a client account, you need to:
   
   1. Extend an invitation 
   
<https://developers.google.com/adwords/api/docs/guides/accounts-overview#extending_invitations>
 to 
   the client account from your Manager account.
   2. Accept the invitation 
   
<https://developers.google.com/adwords/api/docs/guides/accounts-overview#client_accepts>
 from 
   the client account.

Please note that you need to know the clientCustomerId beforehand. You 
should ensure that you use the main MCC's OAuth2 credentials 
<https://developers.google.com/adwords/api/docs/guides/authentication> for 
the first step and the sub-MCC's OAuth2 credentials for the second step. 

Regards,
Shwetha, 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/70cfcd20-015a-4a69-963b-ccf488f1f468%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Creating an AdW... Jon Perry
    • Re: Creati... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to