Hi,

Thank you for posting your concern. I am from the Google Ads API team and let 
me provide support to your concern.

Please see my insights below to the following items:
"When I'm trying to get account hierarchy or do anything with customer account, 
linked to the manager, I have to pass login_customer_id. But if customer 
account is linked to a different manager account, I have to switch back and 
forth between login_customer_ids, which is pain, because it slows the app down. 
"
-Please note that you the login_customer_id, this is where you place the 
customer ID of the Google Ads account where the user account that you've used 
in the authentication has direct access. With this, you really need to change 
the value of the login_customer_id if you are switching Oauth2 credentials to 
manage specific accounts.

"I also use list_accessible_customers() to get initial list of accounts that I 
have on particular email, and, as I mentioned, not everywhere I can retrieve 
account hierarchy because these accounts can be disabled. When I retrieve 
customers via googleads_service.search, I can filter in query by 
customer_client.status = 'ENABLED'. But how can I filter the initial set, that 
I retrieve through  list_accessible_customers()?"
I am afraid that it is not possible to filter the list_accessible_customers to 
get the enabled accounts only. You will need to indeed use the customer_client 
or customer to know the status of the accounts that will be returned by the 
list_accessible_customers.

Let me know if you have further questions.

Regards,

Ernie John
Google Ads API Team
ref:_00D1U1174p._5004Q2g09A3: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/b3bYf000000000000000000000000000000000000000000000RKTPEP00iE72SdehSJWYffhkxBD47w%40sfdc.net.
  • lo... Vk Kv
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to