Hello Myung,
You are trying to create a new account with the Alice's
credentials(assuming Alice is a brand new user does not have any Google Ads
account), which is causing the USER_PERMISSION_DENIED error. Via API you
cannot create client accounts directly, you will be be able to create
client accounts via manager account only. You have to use credentials of
the user having access to the manager account and the client customer id of
the manager account in your ManagedCustomerService API call. While creating
the managed account using ManagedCustomerService.Mutate
<https://developers.google.com/adwords/api/docs/reference/v201809/ManagedCustomerService#mutate>
operation
you could use inviteeEmail
<https://developers.google.com/adwords/api/docs/reference/v201809/ManagedCustomerService.ManagedCustomerOperation#inviteeemail>
and inviteeRole
<https://developers.google.com/adwords/api/docs/reference/v201809/ManagedCustomerService.ManagedCustomerOperation#inviteerole>
parameters
to invite Alice to the newly created managed client account. Also, in order
to user inviteeEmail in your API call you account should be whitelisted.
You can contact your account manager at google to raise a request for
whitelisting.
By following the steps described above, Alice should be able to create a
new account under a manager account having access to create and modify Ads
in the newly created account. That should answer questions 1,2 and 5.
Regarding questions 3, creating merchant center to the Google Ads account
cannot be performed via AdWords API. If you want to know the feasibility of
performing these steps via Merchant center API, you could post the question
on their forum from here
<https://groups.google.com/forum/#!forum/google-content-api-for-shopping>.
Regarding question 4, you need to send an invitation from the Merchant
Center UI to the Google Ads account then you can use AdWords API to accept
the invitation. You could refer this guide
<https://developers.google.com/adwords/api/docs/guides/shopping#linking_your_merchant_center_and_google_ads_accounts>
for
more information.
Regards,
Sai Teja, Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/1a0o2hg0000000018rpn1q000g3bd0y64mj8d9m68o30c1g68qj6chi%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.