How do i get all userlists from an account and list all their names and 
id's.

When i run

AdwordsUserListServiceInterface userListService = 
adWordsServices.get(session,AdwordsUserListServiceInterface.class);
Selector serviceSelector = new Selector();
String[] fields = {"id","name"};
serviceSelector.setFields(fields);
UserListPage result = userListService.get(serviceSelector);

i get invalid field ids error

But on the page

https://developers.google.com/adwords/api/docs/reference/v201806/AdwordsUserListService.UserList

id and name are valid id's

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/e67e322f-24bf-43bc-9150-6f3e891821ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Thomas Bisballe
    • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... Thomas Bisballe

Reply via email to