How to authenticate with manager account

22 views
Skip to first unread message

cheekuan tan

unread,
Mar 30, 2021, 12:18:43 AM3/30/21
to AdWords API and Google Ads API Forum
Hi support, I have an use case that need to link customer's google ad account under our manager account.

To make this happen I had to authenticate with manager account then extend the invitation to the customer's google ad account. Then authenticate with customer's google as account to accept the invitation. (All this happened when customer click a "Connect" button.)

The question is, I am able to get customer's google ad information by getting their access token and refresh token through oauth2.0. But how can I get the manager account's access token? (Is it we need to manually authenticate the manager account then store those token at env file)?

Google Ads API Forum Advisor Prod

unread,
Mar 30, 2021, 10:01:54 AM3/30/21
to cheekua...@gmail.com, adwor...@googlegroups.com
Hello,

Thanks for reaching out. You can obtain the MCC refresh token by the same method used to create the customer's account. If you are using one of the client libraries, and the MCC refresh token already exists, you can find it in the environment file that corresponds to the library that you are using (e.g. ads.properties for Java).

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2EoITs:ref
Reply all
Reply to author
Forward
0 new messages