Hello, 

You could have the button click to trigger the OAuth flow which generates 
the link for creating the authorization code. You will then need to have a 
logic to open a new window with this link. If the client's credentials for 
AdWords account and your application is the same, then they can accept the 
prompt from that login itself. If it is different, they will have to 
manually copy the link over to the login which has access to their AdWords 
account. We don't have code samples which demonstrates this flow. But, you 
could refer to our OAuth samples in Java here 
<https://developers.google.com/adwords/api/docs/samples/java/basic-operations>. 
Code samples in other languages can also be found here 
<https://developers.google.com/adwords/api/docs/clientlibraries>. 

You can use the ManagedCustomerService.mutateLink 
<https://developers.google.com/adwords/api/docs/reference/v201710/ManagedCustomerService#mutateLink>
 to 
extend, rescind, accept and terminate the links. You may refer to the code 
snippets mentioned in this guide 
<https://developers.google.com/adwords/api/docs/guides/accounts-overview#managedcustomerservice>
 as 
a reference.

Regards,
Bharani, AdWords API Team

On Tuesday, December 5, 2017 at 12:18:30 PM UTC-5, [email protected] 
wrote:
>
>
> I want to create a service where a client with an existing adwords account 
> can be linked to my MMC account in the following way: There is a button 
> that when clicked, shows a popup window where the user authenticates and 
> accepts the link. Can you do this? So far as I read in the documentation 
> and forum to accept the invitation, I send you a link to the adword console 
> so that you can log in and accept the invitation, or provide me with your 
> clientId, ClientSecret, RefreshToken keys to accept the invitation with the 
> api but that is more laps for the client
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/26c14b09-dbb7-42b1-89d3-dbbd2da5f943%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • accept invita... angel . ortiz
    • Re: acce... 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
    • Re: acce... 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum

Reply via email to