retargeting.lookalikes.create
Create 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 email retargeting lists
|
struct |
{ |
|
string |
name |
Name of lookalike retargeting list.
|
string |
description |
(optional) Description of lookalike retargeting list.
|
string |
accuracy |
Accuracy of targeting:
|
struct |
sourceRetargetingList { |
|
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
|
array |
listIds ( |
(optional) list of created retargeting list 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:
lookalike_retargeting_list_count_limit_reached
retargeting_list_count_limit
retargeting_list_name_contains_drtg
retargeting_list_name_is_empty
retargeting_list_name_unique
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