Hi all, our goal is to create a web interface to automate audience list creation and the first step is to make a selection of one of the accessible customers, we don't use any official library because our project is in NodeJs, so we have to call the REST api directly.
We have assigned mainly permissions via the Google Ads interface so the google user authenticated via oauth2 will see them. First of all, we call the accessbileCustomer at: https://googleads.googleapis.com/v17/customers:listAccessibleCustomers and the response is : { "resourceNames": [ "customers/...", ... ] } after that, we have to retrieve all customers details, such as name, currency, tz and so on, then for every customer id from previous query, we call the endpoint https://googleads.googleapis.com/v17/customers/*:customerId* /googleAds:search using this query: SELECT customer_client.resource_name, customer_client.descriptive_name, customer_client.currency_code, customer_client.applied_labels, customer_client.client_customer, customer_client.time_zone, customer_client.test_account, customer_client.status, customer_client.manager, customer_client.level, customer_client.id, customer_client.hidden FROM customer_client WHERE customer_client.status = 'ENABLED' The problem is, even the authenticated user is an Admin and has access to the Google Ads manager account, some of the calls return "PERMISSION_DENIED", why? We have noticed that the user authenticating the call is not included in every sub-customer in the google dashboard, is this the problem? Is there a way to get all related customers details the user can see without call the accessibleCustomer endpoint? Thank you in advance Bye Massimo -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/e6e25732-c44f-430a-aa1e-367040c5a694n%40googlegroups.com.