Wow.. if what Bas is saying is true, this is a major showstopper! There might be no way of finding out info about the parent MCC because the authenticated user might not have permission. Even if he has permission, why does the new API work like this? It's a perfectly common scenario for tools to want to access the data of one account without needing to be aware of who its parent is. The old API allows this and rightly it should. Please consider fixing major limitations like this as this is enough to cause many apps to stop working completely.
Oliver On Wednesday, 22 May 2019 08:57:57 UTC+1, Bas van Steen wrote: > > Hi, > > I understand that part, but the question is how can I see that when I am > using the API. > Our customers are already connected via the Oauth connection. In the old > API I can make a request without knowing if the account is under MCC. > But in the new one I have to know. My question is how can I deal with it > using the API. (I need to know if it is under MCC and if yes, what the > client id of the MCC is) > > > Op woensdag 22 mei 2019 09:47:53 UTC+2 schreef adsapiforumadvisor: >> >> Hi, >> >> Thank you for reaching out. You would need to set the login-customer-id >> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#login-customer-id> >> if >> your access to the customer account is through a manager account. This >> header is required and must be set to the customer ID of the manager >> account. To check if the client is under a MCC, in Google Ads UI, you need >> to go to *Tools > Account Access(Under setup) > Manager tab*. However, >> if you are using a root MCC, it shouldn't be under any manager. >> >> Let me know if this helps. >> >> Regards, >> Dave >> Google Ads API Team >> >> >> ref:_00D1U1174p._5001UAqJ0s:ref > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/85809212-214f-43b1-bbb1-83472ff92492%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
