retargeting.combinations.create
Create retargeting combination
Parameters
| struct |
user { |
|
| string |
session |
Session (as retrieved from client.loginByToken())
|
| int |
userId |
(optional) Managed user ID
|
|
} |
|
|
| array |
combinations ( |
Array of combinations
|
| struct |
{ |
|
| struct |
attributes { |
Attributes of combination
|
| string |
name |
Name of retargeting combination.
|
| string |
description |
(optional) Description of retargeting combination.
|
|
} |
|
|
| array |
listGroups ( |
|
| struct |
{ |
|
| string |
operator |
Type of operator:
-
and:
All lists from this group
-
or:
At least in one list from this group
-
not:
Not in lists in this group
|
| array |
listIds ( |
Array of retargeting list IDs
|
|
int
|
|
|
(optional) Id of retargeting list
|
|
) |
|
|
|
} |
|
|
|
) |
|
|
|
} |
|
|
|
) |
|
|
Response
| struct |
{ |
|
| int |
status |
Status code (see below)
|
| string |
statusMessage |
Status code description
|
| struct |
diagnostics { |
(optional) Additional information about processed request (see below)
|
} |
|
|
| string |
session |
(optional) Refreshed session
|
| array |
combinationIds ( |
(optional) Array of created retargeting
|
|
|
) |
|
|
|
} |
|
|
Response status codes:
List of all possible response status codes:
200: OK
206: Partially OK
301: User is serviced
400: Bad arguments
401: Invalid session
403: Access Denied
404: Not found
406: Bad values of attributes
413: Too many items requested.
429: Too many requests. Has to wait.
500: Server Error.
409: Conflict
Diagnostics:
List of all possible diagnostics:
cannot_add_removed_retargeting_list_to_non_removed_combination
retargeting_combination_list_group_empty
retargeting_combination_list_groups_only_not
retargeting_combination_name_empty
retargeting_combination_name_unique
retargeting_list_not_exist
retargeting_list_not_found
user_access_denied