Hi, Thank you for reaching out to the Google Ads API support team.
Based on the provided information, you need to separate the manager and sub accounts separately using customer_client resource. Kindly note that we are getting a successful run on the same query and only the manager account is returned based on the manager account ID. Please modify your query to get the manager accounts dynamically. You can try making a request using the Method: customers.googleAds.search. SELECT customer_client.descriptive_name, customer_client.id, customer.manager, customer.status, customer_client.level, customer_client.manager, customer_client.status FROM customer_client WHERE customer_client.level < 1 AND customer_client.id = (manager account ID) Also, you can use Query Builder to create your query and Query Validator to validate your query. If the issue persists, then you may provide us with the complete request and response logs with request ID and request header generated on your end to better assist you further. If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag. This message is in relation to case "ref:!00D1U01174p.!5004Q02tJQcI:ref" (ADR-00243211) Thanks, Google Ads API Team Register for the upcoming workshop: Performance Max and the Google Ads API! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/ioy1a000000000000000000000000000000000000000000000SFFZWT00OHbY1A84QFeo0qGCXT2OYw%40sfdc.net.
