Hi,

As a starting point I recommend reading the help center article on MCC 
accounts<https://support.google.com/adwords/answer/2375468?hl=en&ref_topic=3121764>.
 
 However, you could set up your app to have access to client accounts that 
are not within your MCC structure.  To do this you would use 
OAuth2<https://developers.google.com/adwords/api/docs/guides/authentication#oauth2>to
 present the user with the opportunity to accept or decline your request 
for access, either indefinitely (using the *offline* access type) or for a 
specific period of time (using the *online* access type).

   - If using the *offline* access type then you would need to store the 
   refresh token associated with the client account so you would be able to 
   obtain new access tokens without further intervention from the user.  
   - If using the *online* access type then you would simply need to repeat 
   the OAuth2 process when the auth token expired.
   
The choice of whether to link client accounts to your MCC would have the 
following impact.

   - Linked - You could use an access token (and optionally a refresh 
   token) from your MCC for *all* of your API requests across *all* child 
   accounts linked to your MCC.  In this scenario, the user would grant you 
   access to their account through the account linking 
process<https://support.google.com/adwords/agency/answer/7732?hl=en&ref_topic=22067>.
 
    You could also perform certain account management operations using the 
*AdWords 
   API*'s 
ManagedCustomerService<https://developers.google.com/adwords/api/docs/reference/v201309/ManagedCustomerService>
   .
   - Not linked - You would need a separate access token (and optionally a 
   refresh token) for each client account you want to access, as described 
   above.

Our client 
libraries<https://developers.google.com/adwords/api/docs/clientlibraries>contain
 many samples of OAuth2 to help get you started.  Our blog 
post on 
OAuth2<http://googleadsdeveloper.blogspot.com/2013/07/oauth2-in-ads-apis.html>also
 contains lots of helpful information, including a video overview and 
links to further resources.

I think that covers your questions, but please post a reply if I've missed 
anything.

Cheers,
Josh, AdWords API Team

On Wednesday, November 20, 2013 7:31:49 AM UTC-5, Kim wrote:
>
>
> What i want to do is make free Adwords audits, this process normally a bit 
> longer an harder for people to get than this the way Wordstream does i like 
> this: 
> http://www.wordstream.com/google-adwords<http://www.google.com/url?q=http%3A%2F%2Fwww.wordstream.com%2Fgoogle-adwords&sa=D&sntz=1&usg=AFQjCNEP3JfyfBaFq1H2fTJP8PJLXqo3dw>.
>  Here 
> users can give wordstream access to their adwords account through this 
> process, where the user simple logs in, if not already logged in and just 
> accepts that wordstream with have acces to their account. And i then guess 
> that this client account will show up in wordstreams Adwords MCC? 
>
> What programming should best be used for this?
>
> Thanks upfront :)
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/groups/opt_out.

Reply via email to