retargeting.lookalikes.update
Update lookalike retargeting lists (type lookalike).
Parameters
struct |
user { |
|
string |
session |
Session (as retrieved from client.loginByToken() )
|
int |
userId |
(optional) Managed user ID
|
|
} |
|
|
array |
lists ( |
Array of lookalike retargeting lists
|
struct |
{ |
|
int |
retargetingListId |
Id of the lookalike retargeting list which will be updated
|
string |
name |
(optional) Name of lookalike retargeting list.
|
string |
description |
(optional) Description of lookalike retargeting list.
|
string |
status |
(optional) Status of lookalike retargeting list:
-
active :
active list
-
suspend :
suspended list
|
string |
accuracy |
(optional) Accuracy of targeting:
|
struct |
sourceRetargetingList { |
(optional)
|
int |
id |
Id of source 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
|
int |
numberOfUpdated |
Number of updated lists
|
|
} |
|
|
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:
lookalike_retargeting_list_count_limit_reached
retargeting_list_has_invalid_type
retargeting_list_name_contains_drtg
retargeting_list_name_is_empty
retargeting_list_name_unique
retargeting_list_not_exist
retargeting_list_not_found
too_few_users_to_create_retargeting_list
too_many_users_to_create_retargeting_list
unsupported_retargeting_list_type_in_lookalike_retargeting_list
user_access_denied