Hello,
I think that I have found the answer. It is actually possible to get the 
*loginCustomerId* through the API by using this service:

https://developers.google.com/google-ads/api/docs/account-management/listing-accounts

So I believe that for both scenarios:

I. Migration of current customers

   - We can write a script that will use  ListAccessibleCustomers 
   
<https://developers.google.com/google-ads/api/reference/rpc/v5/CustomerService#listaccessiblecustomers>
 method 
   to look up the loginCustomerId for every existing Google Ads account

II. Adding new Google login

   - Using the same method, after OAuth2 process completes and returns a 
   refresh token, we can list all the Google Ads accounts the refresh token 
   gives us access to


The documentation actually very well documents those scenarios from my 
original 
post: 
https://developers.google.com/google-ads/api/docs/account-management/listing-accounts

My bad not reading the documentation first.


Best,
 Ales

On Thursday, 29 October 2020 at 04:28:46 UTC+1 adsapiforumadvisor wrote:

> Hi Ales,
>
> Thank you for your feedback. Please allow me to reach out to the rest of 
> our team so we can discuss your scenario. We'll reach back to you as soon 
> as we are able to.
>
> Best regards,
>
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q274dVu: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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cf674efe-ae6d-44c4-90bc-4a63f3f08dc3n%40googlegroups.com.

Reply via email to