Hello Andrej, The developer token of your company can be used to make API calls to any of your client's accounts even though the Developer token is not related to any of the client's accounts. To access the clients account data you can ask them to link their accounts to your companie's MCC account and using OAuth credentials of companies MCC id you can access the clients data. Most of the clients we see follows similar process. Via API you could use ManagedCustomerService.mutateLink <https://developers.google.com/adwords/api/docs/reference/v201809/ManagedCustomerService#mutatelink> to link the accounts, they can follow this article <https://support.google.com/google-ads/answer/7459601?hl=en-AU&co=ADWORDS.IsAWNCustomer=true> to link their accounts via UI. More about the ManagedCustomerService usage and samples can be found here <https://developers.google.com/adwords/api/docs/guides/accounts-overview#managedcustomerservice>. Please let me know if you have any further questions.
Regards, Sai Teja, AdWords API Team. On Tuesday, November 13, 2018 at 6:39:33 AM UTC-5, [email protected] wrote: > > Hey, I want to use access_token + refresh_token to access ads API on > behalf of an user. If I want to use the client library I need to specify > developerToken which is linked to some ad account. At the moment I use > developerToken that I got from our company ad account but I wonder if it > makes sense as I want to access other ad account. > > To clarify in a bit more detail: > - User A comes to our app, links his account through Oauth flow > - We get access_token and refresh_token with permissions to Ads API > - We want to check some info about users A ad account (lets call that > account AA) but I need to supply developerToken with the request > - developerTokens as far as I know are linked to ad account but I do not > have developerToken for ad account AA > - I use developerToken from our company ad account to access AA, this > seems to work but I want to check if this is the right way to do that as > that developerToken seem in no way linked to the AA ad account or to the > Oauth App that was used to get the access_token and refresh_token. > > Thanks in advance. > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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 and Google Ads 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/8cd14835-c0f9-4766-9460-88e34f061ddc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
