Hi,

If you have all of your client accounts under a single top level MCC then 
you can just use the *one* refresh token for the MCC -- that's one of the 
significant advantages of that approach.

Our related 
guide<https://developers.google.com/adwords/api/docs/guides/clientlogin-to-oauth2-single-mcc>
 may 
be helpful. It covers migrating from ClientLogin to OAuth2 but also 
contains some very useful general info on how to use OAuth with the single 
top-level MCC approach.

Thanks,
Josh, AdWords API Team

On Monday, May 5, 2014 5:16:34 PM UTC-4, Scott Luther wrote:
>
> Hi Josh,
>
> Thanks for the help!
>
> Here's another question for you - should we request auth for each user and 
> initiate API calls using the individual user's refresh token, or only use 
> that refresh token to accept the MCC invitation and use the MCC account's 
> refresh token to initiate API calls?
>
> Thanks a ton :)
>
> On Monday, May 5, 2014 11:37:11 AM UTC-7, Josh Radcliff (AdWords API Team) 
> wrote:
>>
>> Hi
>>
>> Our Managing Customer Accounts 
>> Guide<https://developers.google.com/adwords/api/docs/guides/managing-accounts>
>>  describes 
>> the steps for sending invitations from your MCC to your client accounts, as 
>> well as the steps for accepting the invitations programmatically.  Once a 
>> client account accepts the invitation to be part of an MCC's hierarchy, the 
>> MCC will have access to the client account.
>>
>> Regarding your question on setting the refresh token, please see our 
>> CreateAdWordsUserWithoutIniFile.php 
>> example<https://github.com/googleads/googleads-php-lib/blob/2ce0a794af24827ee99c3a900a6b3f905e9bc0d0/examples/AdWords/Auth/CreateAdWordsUserWithoutIniFile.php#L56>
>> .
>>
>> Cheers,
>> Josh, 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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to