Hello Sai, I mean I have ListAccessibleAccounts. What MCC id I need to use? Bcz I am not aware which MCC account has linked with?
Thanks, On Friday, 12 April 2019 14:46:32 UTC+5:30, cv wrote: > > Hello Sai, > > Thanks for the answer. > > How I can get login-customer-id? > > I have refreshtoken with me for MCC account. Under that I have Multiple > MCC account managing. > > How I identify which login-customer-id I need to use? > > How I can get information from Sub MCC accounts? > > Thanks, > > On Tuesday, 9 April 2019 22:38:01 UTC+5:30, googleadsapi-forumadvisor > wrote: >> >> Hello Sergei, >> >> It is not possible to get the manager account Id via API. >> >> @Chirag, >> >> As per the blog post mentioned here >> <https://ads-developers.googleblog.com/2019/01/new-required-header-for-google-ads-api.html>, >> >> you have to pass login-customer-id and client-customer-id in your API call. >> The login-customer-id should be of the manager account that is >> authenticating the API call on behalf of the client and the >> client-customer-id should be of the account id from which you are trying to >> pull the data. The login-customer-id is necessary and the OAuth credentials >> must be of the user having access to that manager account when making calls >> to the client account on behalf of their manager account. >> >> Regards, >> Sai Teja, Google Ads API Team >> >> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ >> Also find us on our blog and discussion group: >> https://ads-developers.googleblog.com/search/label/google_ads_api >> https://developers.google.com/adwords/api/community/ >> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ >> >> Was your question answered? Please rate your experience with us by taking >> a short survey. >> If not -- reply to this email and tell us what else we can do to help. >> >> Take Survey >> <https://support.google.com/google-ads/contact/survey_transactional?caseid=7-5773000025878&hl=en&ctx=1> >> >> Also find us on our blog and discussion group: >> http://googleadsdeveloper.blogspot.com/search/label/adwords_api >> https://developers.google.com/adwords/api/community/ >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/729e98df-aa15-4e19-8560-a6b9802e6f21%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
