Hi Ernie,

Thanks for your response. I have seen the example code that you linked to 
and it still doesn't seem very efficient. It will perform 1+N calls to the 
Ads API, where N is the number of accessible manager accounts for the 
authenticated user. In larger account hierarchies—which are not uncommon 
for an agency—this can mean one has to do a couple hundred calls just to 
get the account structure. In my eyes this is a step back compared to the 
Adwords API, where the same information could be gathered with a single 
call (or a small number of calls, if paging is required) to 
the ManagedCustomerService.

Best,
Dorian

On Tuesday, 29 March 2022 at 05:28:59 UTC+2 adsapi wrote:

> Hi Dorian,
>
> I am also a member of the Google Ads API team and let me provide support 
> to your concern.
>
> It seems that you want to get the account hierarchy of your MCC account. 
> With this, try using this implementation 
> <https://developers.google.com/google-ads/api/docs/account-management/get-account-hierarchy>
>  
> on retrieving account hierarchy.
>
> Let me know if this is what you are looking for. Let me know also if you 
> have further concerns.
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2Ys3MH: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 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e9ffa492-620c-4dff-9cc0-ae817b88a14bn%40googlegroups.com.
  • Re... Dorian Kind
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Dorian Kind
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Dorian Kind
            • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
              • ... Dorian Kind
                • ... Dorian Kind
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to