Friday, 16 September 2016

CustomerService.getCustomers documentation needs fixing

Hi,

CustomerService.getCustomers() does not work as documented.

Old forums threads were quoting the docs, but I find more recent threads saying that without a customer ID header the method behaves like the old CustomerService.get (returning the main account for the authenticated user), and that it currently always returns a single account is the list.

The documentation issue has already been pointed out in https://groups.google.com/d/topic/adwords-api/DLjJjPBEeeE/discussion , but has not even been acknowledged in this discussion.

Please please fix this, I probably won't be the last one to fall into this trap.

Besides, the SOAP API reference and the developer guide does not seem to agree, the former says that the behaviour changed since v201605, the latter says it's since v201607:
- https://developers.google.com/adwords/api/docs/reference/v201605/CustomerService#getcustomers
- https://developers.google.com/adwords/api/docs/reference/v201607/CustomerService#getcustomers
- https://developers.google.com/adwords/api/docs/guides/accounts-overview#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+unsubscribe@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+unsubscribe@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/cf272cd0-5b15-49ad-b70d-fa69396184da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment