Hello, To get the client accounts under a manager account, you will need to make sure that the client customer Id in the request header is set to the manager account. If this does not fix your issue, could you please enable logging by setting the level as 'DEBUG' and share the SOAP logs including the header so that I can take a look? You could use *reply privately to author *while sharing the logs. You may refer to this guide <https://developers.google.com/adwords/api/docs/guides/call-structure#api_call_example> on how the sample logs look like.
Regards, Bharani, AdWords API Team On Wednesday, April 4, 2018 at 1:36:00 PM UTC-4, Normunds Vilcins wrote: > > Hi! > > > We are fetching the list of managed customers like this: > > managed_customer_service = self._client.GetService( > 'ManagedCustomerService', version='v201708') > selector = { > "fields": ['Name', 'CustomerId', 'CanManageClients'], > "paging": { > "startIndex": "0", "numberResults": "100", > } > } > more_pages = True > while more_pages: > page = managed_customer_service.get(selector) > # .. process page .. > > > > This worked fine until recently. After looking into logs we saw this: > > Response summary - {'requestId': 0005690...9b06, 'responseTime': 187, > 'serviceName': CustomerService, 'methodName': getCustomers, 'operations': > 0, 'isFault': True, 'faultMessage': "[RequestError.UNSUPPORTED_VERSION @ > ; trigger:'You are accessing an AdWords API version v201708 that has been > discontinued. Calls to this version may fail. Please visit the AdWords API > blog for information on migration to the new AdWords API version.']"} > > > So we tried upgrading the version. Now, however, the call simply returns > an empty result (no errors). > > > print(page) > > { > > 'totalNumEntries': 0, > > 'Page.Type': 'ManagedCustomerPage', > > 'entries': [], > > 'links': [] > > } > > Tried with both "v201710" and "v201802". > > > After turning on the soap interaction logs ( > https://github.com/googleads/googleads-python-lib#how-do-i-log-soap-interactions > ) > > logging.basicConfig(level=logging.INFO, format=googleads.util. > LOGGER_FORMAT) > logging.getLogger('suds.transport').setLevel(logging.DEBUG) > > we only get this: > > [2018-04-04 17:09:36,525 - googleads.soap - INFO] Request made: Service: > "ManagedCustomerService" Method: "get" URL: " > https://adwords.google.com/api/adwords/mcm/v201802/ManagedCustomerService" > > > Shouldn't be an authentication related problem because (a) we don't get > any (including authentication related) errors, and (b) we get non-empty > results from other endpoints (e.g., CustomerService). > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/62bdce71-b032-40fc-962b-22a5817b9b68%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.