Hello, 

Thank you for sharing the SOAP logs. It looks like if the client account is 
specified in the request header, it is not returning any results. I was 
able to replicate the issue with the latest version of the AdWords API 
while using the Python client library. I have shared this information with 
the team. I will keep you posted if I have any new information.

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/acd7536f-79d1-4c76-9f40-1c947c1fe551%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Normunds Vilcins
    • ... 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
      • ... Normunds Vilcins
    • ... 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
      • ... loredana . ilie
    • ... 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to