I apologize if my previous explanation was unclear.

When using the *ListAccessibleCustomers* function, it returns resource 
names of customers directly accessible by the user authenticated for the 
call. This includes accounts that are currently in the *setup process*. The 
challenge arises when you attempt to call the *customer_client* resource 
using the *customerID* obtained from ListAccessibleCustomers. Since the 
customerID includes resource names of accounts in setup, it can lead to a 
PERMISSION_DENIED error.

This situation seems to pose an issue in distinguishing between fully 
accessible customers and those that are still in setup. The returned 
resource names from ListAccessibleCustomers lack the necessary filtering to 
exclude setup in-progress accounts. Consequently, it becomes difficult to 
prevent the inclusion of setup accounts in the accessible customers' list.

In essence, your concern revolves around the fact that the 
ListAccessibleCustomers response contains customer resource names that 
include both fully accessible accounts and those that are still in the 
setup process, making it challenging to differentiate between the two. This 
issue needs to be addressed to ensure a smoother workflow and accurate 
distinction between accessible and setup in-progress accounts.




On Tuesday, 29 August 2023 at 23:05:18 UTC+5:30 Google Ads API Forum 
Advisor wrote:

> Hi,
>
> Thank you for reaching out to the Google Ads API support team.
>
> With regard to your concern, you may check this documentation guide (
> https://developers.google.com/google-ads/api/docs/account-management/listing-accounts)
>  
> for you to list customers accessible to you with 
> the ListAccessibleCustomers (
> https://developers.google.com/google-ads/api/reference/rpc/v14/CustomerService#listaccessiblecustomers)
>  
> method in CustomerService (
> https://developers.google.com/google-ads/api/reference/rpc/v14/CustomerService).
>  
> However, it is necessary to understand which customers are returned in this 
> type of request. You may also retrieve the list of ENABLED accounts using 
> the customer_client resource.
> This message is in relation to case "ref:_00D1U1174p._5004Q2o8mgY:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>  
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/53221a8e-1116-4d14-9d01-b4f64c07cfc9n%40googlegroups.com.

Reply via email to