retargeting.combinations.update
Update 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 |
{ |
|
| int |
combinationId |
Combination ID
|
| struct |
attributes { |
(optional) Attributes of combination
|
| string |
name |
(optional) Name of retargeting combination.
|
| string |
description |
(optional) Description of retargeting combination.
|
| string |
status |
(optional) Status:
-
active:
activate combination
-
suspend:
suspend combination
|
|
} |
|
|
| array |
listGroups ( |
(optional)
|
| struct |
{ |
|
| int |
listGroupId |
(optional)
|
| bool |
delete |
(optional) if True then group will be deleted from db
|
| array |
listIds ( |
(optional) Array of retargeting list IDs
|
|
int
|
|
|
(optional) Id of retargeting list
|
|
) |
|
|
| string |
operator |
(optional) 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
|
|
} |
|
|
|
) |
|
|
|
} |
|
|
|
) |
|
|
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
|
| int |
count |
(optional) Number of updated retargeting combination IDs
|
|
} |
|
|
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:
attribute_id_must_be_present_for_delete_list_group
attribute_list_ids_must_be_present_for_create_list_group
attribute_operator_must_be_present_for_create_list_group
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_combination_not_exist
retargeting_combination_not_found
retargeting_list_not_exist
retargeting_list_not_found
user_access_denied