Hi,
-- When I get the UserLists from my account, some of them, namely the ones of type REMARKETING, have the field listType null. The docs say that this field should have one of the values enumerated there.
I attached a file with the audiences in my account. I'm most interested in the circled one, "My remarketing list with rules [ADW-made]".
The result I get from the API, when calling AdWordsUserListService->get(), contains
object(UserList)[361] public 'id' => string '414687168' (length=9) public 'isReadOnly' => boolean false public 'name' => string 'My remarketing list with rules [ADW-made]' (length=41) public 'description' => string '' (length=0) public 'status' => string 'OPEN' (length=4) public 'integrationCode' => null public 'accessReason' => string 'OWNED' (length=5) public 'accountUserListStatus' => string 'ACTIVE' (length=6) public 'membershipLifeSpan' => int 30 public 'size' => int 0 public 'sizeRange' => string 'LESS_THAN_FIVE_HUNDRED' (length=22) public 'sizeForSearch' => int 0 public 'sizeRangeForSearch' => string 'LESS_THAN_FIVE_HUNDRED' (length=22) public 'listType' => null public 'isEligibleForSearch' => boolean false public 'isEligibleForDisplay' => boolean true public 'UserListType' => string 'UserList' (length=8) private '_parameterMap' => array (size=1) 'UserList.Type' => string 'UserListType' (length=12)The selector I'm using is this:$selector = new \Selector;$selector->fields = array('Id', 'Name', 'Description', 'Status', 'IsReadOnly', 'AccessReason', 'AccountUserListStatus', 'MembershipLifeSpan', 'Size', 'SizeRange', 'SizeForSearch', 'SizeRangeForSearch', 'ListType', 'IsEligibleForSearch', 'IsEligibleForDisplay', 'SeedUserListId', 'SeedUserListName', 'SeedUserListDescription', 'SeedUserListStatus', 'SeedListSize');As it can be seen, the 'ListType' selector field is there. I also tried with the following predicate added, as well, but I get the same fields for that audience.$selector->predicates[] = new \Predicate('ListType', 'EQUALS', 'RULE_BASED');For the audience "All visitors" I also get a null `listType` field.Thank you.
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9e06d58f-3097-40a9-835d-7de7f12a75a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:
Post a Comment