I have user lists which I define in an account with shared remarketing tags from a manager account.
When I use the Web Audience Manager to edit a user list, there is an option to change the "Tag Source" from "This account" to "Manager account"
However, when I use the API, I couldn't see such an option, and the UserList is always defined as "This Account"
// Create user list
RuleItem website = new RuleItem();
website.setStringRuleItem(generateRuleItem("url__", StringRuleItemStringOperator.CONTAINS, "marco"));
RuleItemGroup ruleItemGroup = new RuleItemGroup();
ruleItemGroup.setItems(new RuleItem[]{website});
Rule rule = new Rule();
rule.setGroups(new RuleItemGroup[]{ruleItemGroup});
ExpressionRuleUserList expressionRule = new ExpressionRuleUserList();
expressionRule.setRule(rule);
expressionRule.setMembershipLifeSpan(30L);
expressionRule.setPrepopulationStatus(RuleBasedUserListPrepopulationStatus.REQUESTED);
expressionRule.setName("My user list");
// Build add operation
List<UserListOperation> operations = new ArrayList<>();
UserListOperation operation = new UserListOperation();
operation.setOperand(data);
operation.setOperator(Operator.ADD);
operations.add(operation);
// Submit the operations.
UserListReturnValue result = userListService.mutate(operations.toArray(new UserListOperation[operations.size()]));